___is mainly used for virtual
Answers
Answered by
2
The functions which may give rise to ambiguity due to inheritance, can be declared virtual. So that whenever derived class object is referred using pointer or reference to the base class methods, we can still call the derived class methods using virtual function. Hence this differentiates those methods from each other.
if it is helpful 4 u please follow me give me a ❤️ and mark me as brainlist please
Similar questions