Inheritance

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

Ads

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

Advertisements

Share on Google+Share on Google+

Inheritance

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

Advertisements

 

Discuss: Inheritance  

Post your Comment


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

Ads

 

Ads