Sub-class in java

In Java, there is a concept of Inheritance which is implemented through a super class and subclass definition and achieved through the object creation process, programmatically.

Ads

Sub-class in java

     

In Java, there is a concept of Inheritance which is implemented through a super class and subclass definition and achieved through the object creation process, programmatically.

-- Through inheritance developers organize and structure the software program in an hierarchical manner through the concept of super class and subclass.

-- Inheritance allows a new class known as the sub-class to inherit some existing behavior and states of the super classes. This highly promotes the concept of code reusability and saves a lot of time.

-- Sub class never allows a user to start coding from very scratch but to start from already existing classes and employ code reusability.

-- Already existing class allows the subclass to inherit all of its properties and Now the programmer just requires to add the new features. 

--
Sub classes saves time and work. 

--
Sub classes allows  to reduce the development time, introduce a better data analysis, less efforts to code and ultimately better performance.

-- Sub classes allows to achieve the run time polymorphism in java.

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

Advertisements

Share on Google+Share on Google+

Sub-class in java

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

Advertisements

 

Discuss: Sub-class in java  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads