Coupon Accepted Successfully!



  1. The word poly means many, and morphism means several forms. Both the words are derived from Greek language. Thus, by combining these two words, a new whole word called polymorphism is created, which means various forms.
  2. The information pertaining to various overloaded member functions is to be given to the compiler while compiling. This is called early binding or static binding. The deciding function call at run time is called run time or late or dynamic binding. Dynamic binding permits to suspend the decision of choosing a suitable member function until run time.
  3. Pointers to the object of a base class are type compatible with pointers to the object of a derived class. The reverse is not possible.
  4. Virtual functions of the base class should be redefined in the derived classes. The programmer can define a virtual function in a base class, and can then use a similar function name in any derived class.
  5. Addresses of different objects can be stored in an array to invoke the function dynamically.
  6. In practical applications, the member function of the base class is rarely used for doing any operation; such functions are called do-nothing functions, dummy functions, or pure virtual functions.
  7. All other derived classes without pure virtual functions are called concrete classes.
  8. Abstract classes are similar to a skeleton on which new classes are designed to assemble a well-designed class hierarchy. They are not used for object declaration.
  9. Virtual functions can be invoked using a pointer or a reference.
  10. If an object of a derived class is assigned to a base class object, the compiler allows it. However, it copies only the base class members of the object, and this process is known as object slicing.
  11. It is possible to invoke a virtual function using a constructor. The constructor makes the virtual mechanism illegal.
  12. We have learned how to declare virtual functions. Likewise, destructors can be declared as virtual. The constructor cannot be virtual. The virtual destructors are implemented in a similar manner to virtual functions. Destructors of derived and base classes are called when a derived class object addressed by the base class pointer is deleted.

Test Your Skills Now!
Take a Quiz now
Reviewer Name