Home Help Java I Inheritance



Inheritance
Posted on: November 11, 2009 at 12:00 AM
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

Related Tags for Inheritance :


More Tutorials from this section

Ask Questions?    Discuss: Inheritance  

Post your Comment


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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.