inheritqnce and polymorphyism

inheritqnce and polymorphyism

what is inheritance and polymorphysm?

View Answers

April 21, 2011 at 5:40 PM

Inheritance is the process by which a derived class or child class inherits all the features, properties and methods of base class or parent class.

Polymorphism describes the ability of the object in belonging to different types with specific behavior of each type. So by using this, one object can be treated like another and in this way it can create and define multiple level of interface. Here the programmers need not have to know the exact type of object in advance and this is being implemented at runtime.

For more information, visit the following link:

Inheritance Example









Related Tutorials/Questions & Answers:
inheritqnce and polymorphyism
inheritqnce and polymorphyism  what is inheritance and polymorphysm

Ads