Inheritance Java permits you to use your user defined classes to create programs using inheritance.
Inheritance