What is polymorphism


Answered by Scott on 2005-05-12 10:14:28: Polymorphism literally means "Many Forms". Each subclass can act a different way given the same command. Even though each of the classes have the exact same method name, each will handle the method call in their own unique way. An example of this would be: 
 
A photographer, police officer, and basketball player are all in the middle of a large room. Someone opens the door and yells "Shoot!".

Showing Answers 1 - 2 of 2 Answers

Scott

  • May 12th, 2005
 

Polymorphism literally means "Many Forms". Each subclass can act a different way given the same command. Even though each of the classes have the exact same method name, each will handle the method call in their own unique way. An example of this would be: 
 
A photographer, police officer, and basketball player are all in the middle of a large room. Someone opens the door and yells "Shoot!".

  Was this answer useful?  Yes

sangeeta

  • Oct 3rd, 2005
 

E.g.; Overloading

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions