Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  

inheritqnce and polymorphyism



Share on Google+Share on Google+

sreedevi vanumu
inheritqnce and polymorphyism
1 Answer(s)      6 years and 4 months ago
Posted in : Java Beginners

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