Card 58 / 76: If class A extends class B, what terms can be used to describe class A? (Choose all that apply.)
A)
Subclass
B)
Superclass
C)
Base class
D)
Parent class
E)
Child class
Answer:
A) Subclass
E) Child class
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
A class that gains the functionality of other classes is called either a subclass or child class.
B, C, and D are incorrect.
Superclass, base class, and parent class are all terms to describe the class that is being inherited.
|