Define Inheritance - oops

          

Define Inheritance

<<Previous   Next>>

Oops - Define Inheritance - Feb 26, 2010 at 21:22 pm by Rajmeet Ghai

Define Inheritance.

Inheritance is a way by which a subclass inherits attributes and behaviors of a parent or base class and can have its own as well.

Oops - Define Inheritance - Jan 12, 2009 at 21:14 PM by Vidya Sagar

Define Inheritance.

Inheritance is the process of involving building classes upon an existing classes. So that additional functionality can be added. Using inheritance the hierarchical relationships are established. Inheritance allows the reusability of an existing operations and extending the basic unit of a class without creating from the scratch.

Oops - Define Inheritance - Jan 27, 2009 at 22:10 pm by Nishant Kumar

Define Inheritance.

Inheritance concept in OOP allows us to create a new class using an existing one. It also allows the new class to add its own functionality. This concept can also be related to real world entity. A bike manufacturer uses same mechanism of existing version of the bike while launching a new version with some added functionalities. This allows him to save time and efforts. 

Oops - purpose of inheritance - Jan 24, 2010 at 11:14 AM by Vidya Sagar

Explain the purpose of inheritance.

- Inheritance allows the developers for reusing the available code
- A subclass can be treated as if it is a super class
- Objects of both super class and subclass can be created in the applications
- A class an be extended in which the additional and exclusive functionality can be placed without altering the super class
- Relationships among objects can easily be established

<<Previous   Next>>
 



Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring