Re: car address


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by William D McQuain on November 26, 2001 at 09:13:07:

In Reply to: car address posted by chris on November 21, 2001 at 12:03:09:

: the specs say that each will have a license num., manufacturer name, model , and weight. However in the initialization of a car file, an address is also given for each car.

Of course. You have to know where to put the car when you create it.

CAN the cars address be an attribute of the car?

Yes.

Or should an address be its own object that has a car for an attribute?

That would also be acceptable, more or less. I don't really see the address as an object...




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]