Share on Google+Share on Google+

Super-class in java

Advertisement
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.

Super-class in java

     

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,
   better performance.

Read more at :
http://www.roseindia.net/java/language/inheritance.shtml

 

Advertisements

Advertisement

Posted on: June 8, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Super-class in java   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:2
s.k.n.
July 6, 2012
the java classes

The top super-class of all the java classes is -
bobobobo
May 7, 2013
oo

ooo