The process where one class acquires the properties (methods and fields) of another.
Inheritance
Categories of Inheritance :
is the keyword used to inherit the properties of a class.
Extends
The super keyword
This keyword checks whether an object is an instance of a specific class or an
interface.
The instanceof keyword
The implements keyword
is a completely “abstract class” that is used to group related methods with empty
bodies.
Interface
Types of Inheritance :
means to override the functionality of
an existing method.
Overriding