Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
Prefix "virtual" in methods (C++)
What does it mean the prefix virtual in a method and when is it used?
1 Answer
+ 3
It is used when their is two way for a class and the value is confused where to go so... We use virtual keyword