AP Computer Science Aeasymcq1 pt
A subclass adds
A.new methods and variables to inherited ones
B.nothing to inherited members
C.only private members
D.only static members
Subclasses extend the parent.
Anew methods and variables to inherited ones
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →