Answer Posted / p suresh kumar
Single interface & multiple method is called polymorphism.
Ex:
Function overloading (Static polymorphism / early binding).
Function overriding (dynamic polymorphism / late binding).
| Is This Answer Correct ? | 166 Yes | 54 No |
Post New Answer View All Answers
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is the purpose of enum?
What are the advantages of polymorphism?
What is the point of oop?
What is the purpose of polymorphism?
How Do you Code Composition and Aggregation in C++ ?
Write a c++ program to display pass and fail for three student using static member function
How does polymorphism work?
What are the benefits of polymorphism?
What is an interface in oop?
What are the 5 oop principles?
Which method cannot be overridden?
Why is encapsulation used?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)