A good answer might be:Yes. People talk about "fleets" of cars. | |
Car FleetConsider a fleet consisting of two cars: a town car and a sports utility vehicle. Think of the fleet as a single object composed of two objects. Remember that an object has (i) identity, (ii) state, and (iii) behavior. Is this true for a fleet of cars?
The definition of class Car is the same as above. It does not change, even though Car objects are now used as part of a larger object. The (not yet finished) definition of Fleet says that a fleet will consist of two cars. | |
QUESTION 4:Are actual car objects part of the definition of Fleet? Click Here after you have answered the question |