Inheritance - Programming

Q1:

If a base class and a derived class each include a member function with the same name, the member function of the derived class will be called by an object of the derived class

A True

B False

ANS:A - True

This is because the member functions are always searched in the derived class and then in the base class.