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
Why namespace is used in c++?
What is math h in c++?
Why c++ is better than c language?
Explain the differences between list x; & list x();.
Why do we need templates?
What do you mean by ‘void’ return type?
Why struct is used in c++?
Explain how functions are classified in C++ ?
What do you mean by late binding?
Explain function overloading
How can a struct in c++ differs from a struct in c?
Does c++ support multilevel and multiple inheritances?
What is a catch statement?
State the difference between pre and post increment/decrement operations.
what are Operators and explain with an example?