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
What is the example of polymorphism?
What exactly is polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is interface in oop?
Why do we use oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Following are the class specifications:
class {int a};
class {int b};
Using friend funtion,calculate the max of two objects and
display it.
What is constructor overloading in oop? What is object in oops? What is polymorphism and its types? Why is encapsulation used? What is use of overloading? What is for loop and its syntax? What is oops and why we use oops? What is a null tree?