Answer Posted / zeeshan
Polymorphism can be achieved by two ways:
1.Overloading 2.Overriding
1.Overloading: Overloading means methods have same name but
different arguments it can be achieved at Compile Time.
1.Overriding: Overloading means when we make method virtual
in base class and we also want that it also used in child
then we use override keyword for that method and and it can
be achieved at Run Time.
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Why is object oriented programming so hard?
What is the renewal class?
What is polymorphism and example?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are two types of polymorphism?
What is object in oop?
what is graphics
What is difference between data abstraction and encapsulation?
What is the use of oops?
What is this pointer in oop?
Is oop better than procedural?
What are the data types in oop?
What is new keyword in oops?
What is multilevel inheritance explain with example?