Page 1316 - AP Computer Science A, 7th edition
P. 1316

17. (E) Statement I is false: The Sedan, StationWagon, and SUV classes should all be subclasses of Car. Each one satisfies the is-a Car relationship. Statement II is true: The main task of the Inventory class should be to keep an updated list of Car objects. Statement III is true: A class is independent of another class if it does not require that class to implement its methods.


































































































   1314   1315   1316   1317   1318