Home Help Java S Sub-class in java
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Sub-class in java

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

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

Liked it!  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.

Posted on: November 17, 2009

Ask Questions?    Discuss: Sub-class in java  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com