Glossaria.net

Glossary Java / Term

inheritance

The concept of classes automatically containing the variables and methods defined in their supertypes. See also superclass, subclass.


The concept of classes automatically containing the variables and methods defined in their supertype.

multiple inheritance: When a class simultaneously inherits methods and fields directly from more than one base class or supertype.

single inheritance When a class inherits methods and fields directly from only one base class or supertype.

Permanent link inheritance - Creation date 2022-01-03


< index Glossary / Java initialization >