Explain the different forms of Polymorphism.

By: Karthik Printer Friendly Format    

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  




Most Viewed Articles (in Interview )

What types of comments are available in the JSP?

Interview Question: What is Action Class?

Interview Question: Is there a particularly good IDE to use with Struts ?

Interview Question: Do ActionForms have to be true JavaBeans?

Interview Question: What is local interface. How values will be passed?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

Question: How would you go about analyzing performance of an application?

What is similarities/difference between an Abstract class and Interface?

Explain garbage collection?

What are implicit Objects available to the JSP Page?

Interview Question: What is Struts?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: Who makes the Struts?

Interview Question: Why it is called Struts?

Interview Question: Write code of any Action Class?

Latest Articles (in Interview)

Comment on this tutorial