+ 1
Whar are the advantages of virtual base class and virtual functions in c++
4 Réponses
0
Virtual classes, compared to abstract are class that are optional to overload. For example, you have a base class Animal with methods sound() and move(). Class Dog will overload both methods, but class Fish wont overload sound() because it doesn't make a sound
0
Thank u. but i need 5 advantages of virtual base class and virtual functions in c++
0
No examples🙃
0
https://www.codeproject.com/Questions/96105/Virtual-functions
Explanation + code examples