what is meant by shadowing a base class in derived class?
Answers
Answered by
1
Answer:
When a derived class member function has the same name as that of its base class member function ,the derived class member function shadows/hides the base class's inherited function .
Similar questions