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 )

Interview Question: Who makes the Struts?

Interview Question: Why it is called Struts?

Interview Question: Do you have to credit Struts on your own website?

Interview Question: What is ActionServlet?

Interview Question: What about JSTL and JavaServer Faces ?

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

Interview Question: Why are some of the class and element names counter-intuitive?

Interview Question: What is Local client view in EJB?

Interview Question: What is the difference between EAR, JAR and WAR file?

Interview Question: How many EJB Objects are created for a Bean?

Interview Question: What is the difference between find and select methods in EJB?

Types of Interviews

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

What is J2EE?

What is Deployment Descriptor?

Latest Articles (in Interview)

Comment on this tutorial