0
What is the difference in having a virtual keyword before function name and variable name?
usage of virtual variables and virtual functions??
1 Odpowiedź
+ 1
as far as I know virtual applies only for methods and not for variables. you should put them under protected if they should be accessible in the derived classes