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.

 

 

323_Untitled.png

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
The hashCode() and equals() methods have to be very important, when objects implementing these two functions are added to collections. If not implemented or implemented incorre


Need java programmer for an assignment "Prepare a program that will accept a sequence of file names as command-line arguments. These files will consist of ASCII text representin

Give an Examples of Access Protection ? This is how the Car class would almost certainly be written in practice. Remember that all the fields are now declared private, and the

Translate Four Row Solitaires from Java Swing to Android. Project Description: There is a product known Four Row Solitaire listed in GitHub. I would like Swing GUI to be repl

school management system

Explain the char data type in java? A char is a single character in which a letter, a digit, a punctuation mark, a tab, a space or something same. A char literal is a single on


What are Trojan Horses? Trojan Horses are unlike viruses usually they are stand-alone programs. The look such as what they are not. They appear to be something harmless and int

Create an application for an animal-fur trimming service. The business is open 15 weeks of the year, from April through July. The fee for a small animal (under 6 pounds) is $100, a