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
Is java a c++?
Is c++ a float?
What is the difference between passing by reference and passing a reference?
Mention the purpose of istream class?
Explain "const" reference arguments in function?
What are the advantages of c++ over c?
What is class syntax c++?
What is the protected keyword used for?
Where the memory to the static variables is allocated?
What is a forward referencing and when should it be used?
What is c++ namespace?
What is the hardest coding language to learn?
Differentiate between structure and class in c++.
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What are c++ manipulators?