hey all i'm new to java and want to know about inheritance and their levels.please resolve my query.
The process by which one class acquires the properties(data members) and functionalities(methods) of another class is called inheritance. The aim of inheritance is to provide the reusability of code so that a class has to write only the unique features and rest of the common properties and functionalities can be extended from the another class. Inheritance is the property in which a child class inherits all the properties of parent/base/super class .It is needed so that all the details or data related to a particular family of programs or classes are stored and managed at every level in a hierarchial order