Yahoo Interview Question
211 Interview Reviews |
Back to all Yahoo Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for QA Engineer at Yahoo:
Helpful Question?
Yes |
No
Inappropriate?
Answers & Comments (2)
The reason for having a virtual destructor is to have proper clean up of derived class object.
We do not have virtual constructors because the base class does not know about derived class existence when it gets called and hence does not make sense to have constructors virtual.
Helpful Answer?
Yes |
No
Inappropriate?
To comment on this
question,
Sign In with Facebook or
Sign Up
0 of 0 people found this helpful
by Interview Candidate: