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

7. (C) Declarations I and II fail because you can’t create an instance of an abstract class. Additionally, declaration I fails t his t es t : Cereal i s -a WheatCereal? N o. N ot ic e t hat declaration III passes this test: RiceCereal is-a Cereal? Yes.


































































































   1294   1295   1296   1297   1298