Multiple choice

Which function is used to make use of a function which is used in two derived classes and also in the base class without having any complexity in the program.

  1. Virtual function

  2. Function overloading

  3. Operator overloading

  4. Inheritance

  5. Encapsulation

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This function is used to make use of a function which is used in two derived classes and also in the base class without having any complexity in the program.