Explain the polymorphism principle, JAVA Programming

Explain the Polymorphism principle.

Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, relying upon the object who is calling it. Polymorphism exists in 3 distinct forms in Java:

  • Method overloading
  • Method overriding through the Java interface
  • Method overriding through inheritance

 

 

Posted Date: 9/9/2013 2:12:04 AM | Location : United States







Related Discussions:- Explain the polymorphism principle, Assignment Help, Ask Question on Explain the polymorphism principle, Get Answer, Expert's Help, Explain the polymorphism principle Discussions

Write discussion on Explain the polymorphism principle
Your posts are moderated
Related Questions
I need to code using java in netbeans for my dissertation which is in data mining domain...deals with privacy preserving of sensitive rules or items using association rule hiding


In this experience you will make the neophyte Java programmer happy by solving, to a limited extent, an age-old problem in programming:  mismatched delimiters.  As we all know, eve

Describe the if statement in Java ? All but the most trivial computer programs required to form decisions. They test a condition and operate in a different way based on the out

Write a quality and complexity analysis report, JAVA Programming


Coarse Grained SOA : Services are also could be coarse grained. E.g:   You may have a purchase element with individual functions to make a purchase order, add line items, and a

How to Wrapping Your Own Packages in java? Java does not limit you to using just the system supplied packages. You can write your own as well. You write packages just such as

A question rising in the mind of XML/DTD designers is whether to model and encode retain information using an attribute, or alternatively, using an element. 1. Using  an  elemen

RMI transport layer usually opens direct sockets to the server. Several Intranets have firewalls that do not accept this. To get through the firewall an RMI call may be embedded wi