virtual function

Hi All,

I am new to C++, so my question might be very basic.

Assuming I have a function which is declared as virtual in one of the class hierarchy, does it mean the function is virtual in all the derived classes even though virtual qualifier is not used?

Thank you ...
Yes. The additional virtual keywords are not required but it might be a good idea to leave them there as a little reminder.
Topic archived. No new replies allowed.