Ancestor class: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
A class from which another class inherits instance methods, attributes, and instance variables, either directly or indirectly. A direct descendant of an ancestor class is called a child class, derived class, or subclass. A direct ancestor of a class is called a parent class, base class, or superclass. | A class from which another class inherits instance methods, attributes, and instance variables, either directly or indirectly. A direct descendant of an ancestor class is called a child class, derived class, or subclass. A direct ancestor of a class is called a parent class, base class, or superclass. | ||
[[ | [[category:Glossary]] |
Revision as of 05:04, 12 November 2017
A class from which another class inherits instance methods, attributes, and instance variables, either directly or indirectly. A direct descendant of an ancestor class is called a child class, derived class, or subclass. A direct ancestor of a class is called a parent class, base class, or superclass.