Interview Questions Dumps
Search Interview Questions
cpp Question Dump
A function is defined in a base class as virtual. Is it virtual in all of its direct or indirect derived class? Is the keyword virtual required while defining functions in direct/indirect derived class?
Yes. Even a destructor in derived class is virtual if base class' destructor is virtual.
No. The virtual keyword is not necessary at any derived classes.
Response on this
Login to comment.
Why create separate log in id?
Leave your comment:
Add comment here...
© 2012 by QuestionsCompiled . All Rights Reserved.