j**l 发帖数: 1 | 1 1.Implement the following car hierarchy along with the accessor functions
and a CarRental class which contains the container to store them.
A car rental company wants to keep track of its cars. Each vehicle has a
license plate and a brand. (eg. BWM). Currently the company has SUV-s and
Sedans. SUV-s have an optional third row seat, sedan’s have an optional
sport package. Each car can be queried to inquire the number of passengers
it can carry.
2,You have a class that many libraries depend on. No |
|