what is polymorphism,why we need this concept,what is it's utility,how this can be achieved in java...
Joined: Feb 05, 2003
Take your favorite search engine and you will find it explained numerously. For example Wikipedia is one of the first hits, complete with a java example.
Joined: Jul 11, 2001
In short, (runtime) polymorphism is a tool that allows us to write code that is better decoupled - the code that decides which method to call when can be different from the code that decides which implementation to use for that method call.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus