Java View all facts Glossary Help |
specification > class > ancestor > superclass |
superclass comparison table |
Subject | have | is a kind of | is a synonym of | is a subtopic of | has definition |
---|---|---|---|---|---|
ancestor | a unique name since somebody in the future might want to import the packages containing both classes and hence create a name clash | class | ascendant class | Inheritance | A class A is an ancestor of class B if it is farther up in the class hierarchy than class B and class B is descended from it |
superclass | 1 or more subclasses called its descendant(s) | ancestor | parent class | Classes | A class's direct ancestor |
Up: ancestor