Programming Tutorials

Explain the Polymorphism principle.

By: Karthik in Interview Tutorials on 2012-06-16  

Answer: The meaning of Polymorphism is something like one name many forms. Polymorphism enables one entity to be used as as general category for different types of actions. The specific action is determined by the exact nature of the situation. The concept of polymorphism can be explained as "one interface, multiple methods".





Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Interview )

Explain garbage collection?

Interview Question: What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

What is Collection API?

Differentiate between .ear, .jar and .war files.

Interview Question: Write code of any Action Class?

Question: Difference between forward and sendRedirect in JSP?

What is the difference between interface and abstract class?

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

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

Interview Question: Do ActionForms have to be true JavaBeans?

Interview Question: What is Deployment descriptor?

What is the difference between Session Bean and Entity Bean?

Interview Question: What are the call back methods in Entity bean?

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

Interview Question: What is Message Driven Bean?

Latest Articles (in Interview)