If a base class declares a function to be virtual

d) If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class? Justify.

Leave a Reply