Ch 12: Class Hierarchies and Interfaces Flashcards
1
Q
A class can extend another class, what is this feature of OOP programming called?
A
inheritance
2
Q
explain public class D extends B
A
D is a subclass of B
3
Q
what is another word of subclass
A
derived class
4
Q
what is another word for superclass
A
base class