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
What are the Design Goals of Java Massive growth of the Internet and World-Wide Web leads us to a completely new way of looking at development of software which can run on diff

How can you define a consistent web design? Why is it needed? A consistent web design should be the one in which achieves the result in which it was designed for, which result

Operator Functionality E x ample/Explanation = Sets one value equal to another counter=0  Sets the counter to equivale

Question 4 Write a program that receives two integer inputs from a user, an ending value, lastvalue and column, column. The program will display all numbers from 1 to lastvalue

Give an Examples of java.lang.Math Methods Here is an instance program in which exercises most of the routines in java.lang.Math. If your high school math is a little rusty, do

A target is the class that is being advised. The class can be a third party class or your own class to which you require to add your own custom behavior. By using the concepts of A

I want Java a Web Technologies expertise Project Description: Good Java knowledge about 4-5 years to develop online enterprise tool. Seeking someone who is interested to w

Explain Drawing Rectangles in java ? Drawing rectangles is easy. Begin with a Graphics object g and call its drawRect() method: public void drawRect(int x, int y, int width, i

I need to get how to start the java program to evaluate the simillarity.

(CarbonFootprint Interface: Polymorphism) Using interfaces, as you learned in this chapter, you can specify similar behaviors for possibly disparate classes. Governments and compan