hey all i'm new to java and want to know about inheritance and their levels.please resolve my query.
Inheritance is very essential for expandability.
Inheritance is used to declare characteristics of classes inheriting it,without giving its implementation.It is one of the most important concept of OOPS. After creating one super class you can use its features to create several sub classes that inherits some features from its parent class and have few additional features. Inheritance enables code reusability and saves time.