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 :
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: June 8, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles