Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Help Java I Inheritance

Related Tutorials


 
 

Share on Google+Share on Google+

Inheritance

Advertisement
In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically.

Inheritance 

     

OOPs revolve around the four concepts:

1. Encapsulation
2. Polymorphism
3. Abstraction
4. Inheritance

In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically.

Here we will discuss Inheritance briefly: 

-- Inheritance is the mechanism to organize and structure the software program in an hierarchical manner. 
-- Through inheritance
a new class can inherit some existing behavior and states of another class. This promotes the concept of code reusability.
--
Inheritance saves work as the already existing class allows the new class to inherit all the properties of the old general class and as a programmer you only require the new features. 
-- Inheritance  allows various objects to share certain things common by allowing to define a general class and later to organize some other classes simply adding some details with the old class definition.
--
Inheritance  allows a better data analysis, reduction in development time, less coding and better performance.

Read more at :

www.roseindia.net/java/beginners/oop-in-java.shtml

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



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 11, 2009

Related Tutorials

Discuss: Inheritance  

Post your Comment


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