This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes PolyMorphisn Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "PolyMorphisn" Watch "PolyMorphisn" New topic


swarupa patil
Ranch Hand

Joined: Feb 22, 2006
Posts: 62
Hi Ranchers,
I have one doubt regarding with Polymorphism.
What is PolyMorphisn?
What is Compile time polymorphism and Runtime PolyMorphisn?
S Thiyanesh
Ranch Hand

Joined: Mar 19, 2006
Posts: 142
Polymorphism is ability to process objects differently based on the data or state.Its mostly about redefining the methods.

Compile time polymorphism in JAVA deals with the overloaded methods and instance variable binding.
Runtime polymorphism deals with the overridden methods.
subject: PolyMorphisn