In Java, there is a concept of Inheritance which is implemented through a superclass and subclass definition and achieved through the object creation process, programmatically.
-- Inheritance allows to organize and structure the software program in an hierarchical manner through the concept of super class and subclass.
-- Through inheritance a new class inherits some existing behavior and states of another class which is called as the superclass. This promotes the concept of code reusability.
-- Creation of a superclass saves work as the already existing class allows the new class to inherit all the properties of the old general class.
-- Superclass allows various subclassed objects to share certain things in common.
-- Superclass in java allows :
to introduce better data analysis,
reduction in development time,
less coding efforts,
Read more at :
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.