Inheritance is a basic object oriented feature in which one class acquires and extends upon the properties of another class, using the keyword extends
. For Interfaces and the keyword implements
, see interfaces.
Inheritance is often combined with generics so that the base class has one or more type parameters. See Creating a Generic Class.