How to construct virtual constructor
Answer Posted / gaurav
The first thing, Why we need a Virtual constructors, do we
really need that..... :) If I am making an object of A then
I should not expect the object of class B as I can directly
make a B class object.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Which bit wise operator is suitable for putting on a particular bit in a number?
Explain the use of this pointer?
Can we define function inside main in c++?
How would perform Pattern Matching in C++?
Specify some guidelines that should be followed while overloading operators?
What is implicit pointer in c++?
Is vector a class in c++?
Can I uninstall microsoft c++ redistributable?
How the endl and setw manipulator works?
Is c++ still being used?
Who was the creator of c++?
Define 'std'.
Define the process of error-handling in case of constructor failure?
When is dynamic checking necessary?
What are c++ files?