Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 If a base class contains a member function func(), and a derived class does not contain a function with this name, an object of the derived class cannot access func(). ?->(Show Answer!)
1. If a base class contains a member function func(), and a derived class does not contain a function with this name, an object of the derived class cannot access func().
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.04 pm
It depends upon how the function func() has been defined in the base class. If the function func() is defined public in base class then an object of the derived class can access the function func().