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
Need a new E- payment gateway Project Description: I need a new payment gateway of my own. Anyone who has previous experience in preparing a new payment gateway. I mean new p

can you explain me the er diagram for the online doctor system

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

According to XMPP Standards Foundation "XMPP is the Extensible Messaging and Presence Protocol, a set of open technologies for instant messaging, presence, multi-party chat, voice

What do you think about an object's lock and which kinds of object's have locks?

Write a programme to create a webpage that prints the name of the STUDENT database in Wide Latin font and set the subtitle with description of the STUDENT to the screen. Set the pa

examples of 2D arrays

in java string is a

Object Oriented Programming   Java is basically object oriented. Each line of code you write in java should be inside a class (not counting import directives). OOP fundamental

ActionServlet performs the role of Controller: ? Process user requests ? Verify what the user is trying to achieve according to the request ? Pull data from the model (if