Java Inheritance

Inheritance in Java is a process in which sub class inherits all the properties of super class(parent class).