2080 12

Object Oriented Programming20805 marksConcept of Virtual functions

Explain the reason for member function overriding when using virtual function.

Explain the reason for member function overriding when using virtual function. [5]

Overriding means defining a member function with the same name in both the base class and the derived class. When such a function exists in both classes, the derived class function overrides the base class function. Virtual function is a member function in the base class that is declared using th...

Up nextWhat is aggregation? Write a program for implementing following: Create a class author wit