Question: For this exercise, consider a different example of an objecta dog. a. What type of object is a dog? b. What are some of the

For this exercise, consider a different example of an object—a dog.

a. What type of object is a dog?

b. What are some of the attributes of a dog?

c. Show an object instance of Dog, using Figure 9-1 as an example.

Data from Figure 9-1

FIGURE 9-1 Object Instances (a) (b) A "CUSTOMER" Object Instance 412209: Customer

d. What are some of the behaviors of the class of Dog?

e. Represent the class of Dog in the UML, using Figure 9-2

(b) as an example.

Data from Figure 9-2 (b)

412209 Customer customerNumber = 412209 lastName = Bentley first Name = Lonnie

FIGURE 9-1 Object Instances (a) (b) A "CUSTOMER" Object Instance 412209: Customer 412209 Customer customerNumber = 412209 lastName = Bentley first Name = Lonnie homePhone = 765-463-9593 street = 2625 Darwin Dr. city = West Lafayette state = Indiana zipcode = 47906 etc. An "ORDER" Object Instance 3221345: Order 3221345: Order orderNumber = 3221345 orderDate = 10/28/2002 shipping Method = fedex shipping Cost = 12.75 total Cost = 574.35 etc.

Step by Step Solution

3.59 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis And Design Questions!