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?
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...
Post a Followup