Answer Posted / shivam`
There are two types of polymorphism.
1. Compile time polymorphism - It is achieved by
overloading functions and operators
2. Run time polymorphism - It is achieved by overriding
virtual functions
Lets say you have a class that have many Load methods having
different parameters, this is called Compile time
polymorphism. Lets take another example where you have a
virtual method in the base class called Load with one
parameter and you have redefined its functioanlity in your
sub class by overriding base class Load method, this is
called Run time polymorphism.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is difference between pop and oop?
What polymorphism means?
What is interface in oop?
Why is destructor used?
What is encapsulation oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is the types of inheritance?
What is coupling in oops?
What is the problem with multiple inheritance?
What is class encapsulation?
What is the difference between a mixin and inheritance?
Why interface is used?
What is inheritance and how many types of inheritance?
What is object-oriented programming? Webopedia definition
which feature are not hold visual basic of oop?