Posted by Christopher Rubeiz on November 27, 2001 at 19:06:31:
In Reply to: Re: Design ? posted by H on November 27, 2001 at 17:04:08:
This is the problem... i'm not too sure about the design... I do not have a vehicle as my base...mostly because it wouldn't have enough meaning...This is why i'm trying to see why the prof mentioned this because it doesn't seem necessary... the class you mention (vehicle) wouldn't have enough data members nor functions that would help you do any less... and this is the entire idea of using inheritance (I think)...
Thanks for the Responses,
: Remember this is just a design, you can have both as a type of vehicle.
: : I took from his response that you do want a truck heirarchy, but that can (should?) also be a part of another heirarchy....
Post a Followup