what is polymorphism?

Answer Posted / haseena banu

Polymorphism is not the same as method overloading or method overriding. Polymorphism is only concerned with the application of specific implementations to an interface or a more generic base class. Method overloading refers to methods that have the same name but different signatures inside the same class. Method overriding is where a subclass replaces the implementation of one or more of its parent's methods. Neither method overloading nor method overriding are by themselves implementations of polymorphism

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why oops is important?

603


to find out the minimum of two integer number of two different classes using friend function

1637


Explain virtual inheritance?

680


What are the benefits of polymorphism?

616


What is polymorphism oop?

619






Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2005


What is pointer in oop?

533


What is abstract class in oops?

596


What do you mean by abstraction?

609


What is meant by multiple inheritance?

734


What is abstraction in oop?

631


Can abstract class have normal methods?

610


What are the important components of cohesion?

550


why reinterpret cast is considered dangerous?

1896


Is this job good for future? can do this job post grduate student?

1689