How to construct virtual constructor
Answer Posted / vishwa
there is no need to use vitual constructors in C++.
because the construction of the class tree will be happened
from the base class to child class.
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
What are static type checking?
What is flag in computer?
Explain what are mutator methods in c++?
Is c++ an oop?
Define friend function.
How the keyword struct is different from the keyword class in c++?
What is pure virtual function?
Define virtual constructor.
What is nested class in c++?
Why cout is used in c++?
Write a function that swaps the values of two integers, using int* as the argument type?
What is c++ & why it is used?
What is enum c++?
What is the auto keyword good for in c++?
What is the purpose of ios::basefield in the following statement?