GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Concepts  >  OOPS

 Print  |  
Question:  Explain the different forms of Polymorphism.

Answer: From a practical programming viewpoint, polymorphism exists in three distinct forms in Java:
Method overloading
Method overriding through inheritance
Method overriding through the Java interface


January 01, 2006 10:14:25 #9
 gaurav bagga CRM Expert  Member Since: January 2006    Total Comments: 1 

RE: Explain the different forms of Polymorphism.
 

1. compile time polymorphism(function and operator overloading)

2.runtime polymorphism.(virtual functions)

     

 

Back To Question