OOP Terminology
- If a class C1 is a subclass of class
C2, then
- C2 is the base class
and C1 is derived from
C2 (C++ terminology)
- C1 extends C2 (Java
terminology)
- The ancestry of a class consists
of all classes it is derived from, directly or indirectly.
Example: the ancestry of the OxfordShirt
class is the Item
class and the OxfordShirt class.