Polymorphism, JAVA Programming

Polymorphism - defines the ability of a single variable of a provided type to be used to reference objects of different types, and automatically call the method that is specific to the type of object the variable references. In short way, polymorphism is a bottom-up method call. The benefit of polymorphism is that it is very simple to add new classes of derived objects without dividing the calling code. That uses the interfaces or polymorphic classes. When you send a message to an object even though you don't know what specific type it is, and the right thing occur, that's called polymorphism. The process used by object-oriented programming languages to implement polymorphism is defined dynamic binding.




Posted Date: 7/25/2012 1:01:43 AM | Location : United States

Related Discussions:- Polymorphism, Assignment Help, Ask Question on Polymorphism, Get Answer, Expert's Help, Polymorphism Discussions

Write discussion on Polymorphism
Your posts are moderated
Related Questions
how to retrive data in one block from database by click data link in another block

OOPS with Java 1. Explain any five buzz words in Java. 2. Explain exception classes and also explain common exceptions in java. 3. Explain primitive and abstract data typ

If any of the above conditions does not met, then the program will generate compilation errors. Today Rahul has written his first program "Hello World", but he is not sure about th

Instructions Modify the program so that the computer will generate moves for the ‘O' player (it must continue to accept user input for ‘X'). A simple way to do this is to use a

write a java program to board coloring

We need a serious programmer who will code Java and Javascript in Liferay - open to bidding Project Description: Big Data project Prototype in Liferay. Big Data + User onl

Write an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love Jav

Write code in JavaScript to display the odd numbers among 20 to 100 using FOR statement? Note: No required to write whole HTML program. Just JavaScript code of require elemen

* Using a data structure to represent a set * Writing and using a checked exception * Extending the Exception class What should you upload via Blackboard? The files,