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 )

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

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

Interview Question: What is Deployment descriptor?

Explain the Polymorphism principle.

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

What do you understand by a J2EE module?

Question: What is the directory structure of a web application?

Interview Question: What is lazy loading?

Question: What is an output comment in JSP?

Interview Question: Is Decorator an EJB design pattern?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: What are the optional clauses in EJB QL?

Interview Question: What is the difference between sessioncontext and entitycontext?

Is Iterator a Class or Interface? What is its use?

Latest Articles (in Interview)