Answer Posted / rani
No, we cannot have virtual constructor. Because constructor
is usually use to create instance of a class and we cannot
make it virtual.
| Is This Answer Correct ? | 47 Yes | 2 No |
Post New Answer View All Answers
What parameter does the constructor to an ofstream object take?
Is oops and c++ same?
What does new do in c++?
Do we have to use initialization list in spite of the assignment in constructors?
What are the new features that iso/ansi c++ has added to original c++ specifications?
Write about the use of the virtual destructor?
Define the process of handling in case of destructor failure?
What is a static member?
What language is a dll written in?
What is the difference between structure and class?
Is c++ faster than c?
Explain object slicing in c++?
What does extern mean in a function declaration in c++?
how to explain our contribution in the project?
Why is c++ still popular?