AP Computer Science Aeasymcq1 pt
A subclass inherits which members from its superclass?
A.public and protected methods and variables
B.private variables only
C.private methods only
D.nothing
Public members are inherited.
Apublic and protected methods and variables
Practice more AP Computer Science A questions with full explanations
Practice Unit 9: Inheritance Questions →