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:  Java Polymorphism

Answer: Describe why Java supports only runtime polymorphism?


November 11, 2009 13:59:11 #2
 tarun23   Member Since: November 2009    Total Comments: 1 

RE: Java Polymorphism
 
The three ways of polymorphism in Java are method overloading, method overridding and method overridding by extending an class. All these results come true when we run our class which is overloading or overidding any method since we run methods at runtime. In this way Java supports polymorphism at runtime.
     

 

Back To Question