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
Differentiate between onLoad and onUnload? Onload executes the particular javascript code when a latest document is loaded into a windows. ONUnload executes he particular javas

Question 1 Discuss features of JAVA Question 2 What are primitive data types? Discuss Question 3 Explain data conversion function ValueOf ()? Question 4 What are th


Need assignment help , on the topic “Demonstrate a console-program” Demonstrate a console-program to create an array of integers and Initialize the array and assign the values i

Write a program to perform multiplication and division in java? Of course Java could also do multiplication and division. Because most keyboards don't have the times and divisi

A mechanism for converting among string-based markup generated by JavaServer Faces UI components and server-side Java objects.

How can we involve images within a web page using HTML and Java script? Images can be included in HTML through employing tag, below is the format of

A MapMessage carries name-value pair as its payload. Therefore its payload is same to the java.util.Properties object of Java. The values can be Java primitives or their wrappers

YES. JSP technology is extensible by the development of custom actions, or tags, which are encapsulated in tag libraries. #question..

solve the string public int expression("10+20+30")