View RSS Feed

Java Basic

Polymorphism

Rate this Entry
by , 01-08-2012 at 11:07 AM (1617 Views)
It allows using objects of different types by using or calling object of only one type. This concept is called polymorphism. It will automatically call the method of desired object. It is also referred as “bottom up” method call. It helps you to add new classes of derived objects without major changes in code and breaking the code call sequence.

Below image explains the concept of polymorphism. Send a message to a method without knowing its type. It is also known an dynamic binding and implemented by object oriented languages.

Name:  49.JPG
Views: 520
Size:  19.8 KB

Ploymorphism

Submit "Polymorphism" to Facebook Submit "Polymorphism" to Digg Submit "Polymorphism" to del.icio.us Submit "Polymorphism" to StumbleUpon Submit "Polymorphism" to Google

Tags: polymorphism Add / Edit Tags
Categories
Tutorial

Comments