Showing posts with label Inheritance java. Show all posts
Showing posts with label Inheritance java. Show all posts

10/23/11

OOPs Concept : Inheritance

After discussing Encapsulation, now its time for 'Inheritance' as OOP Concept.


Inheritance can be defined as the process where one object acquires the properties of another. With the use of inheritance the information is made manageable in a hierarchical order.


When we talk about inheritance the most commonly used keyword would be extends and implements. These words would determine whether one object IS-A type of another. By using these keywords we can make one object acquire the properties of another object.