Answer Posted / shashank agrawal
No, This is not possible because virtual is used for avoid
overriding and the constructor is called when the object of
that class has been created so in this case overriding is
not possible then to make the constructor as virtual is
useless.so we dont create it virtal.
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is constructor and destructor in c++?
What is abstraction in c++?
Can we use clrscr in c++?
Ask to write virtual base class code?
Mention the ways in which parameterized can be invoked.
What is the difference between multiple and multilevel inheritance in c++?
Const char *p , char const *p What is the difference between the above two?
Name the operators that cannot be overloaded in C++?
What is c strings syntax?
Why was c++ made?
Is linux written in c or c++?
What c++ library is string in?
Explain rethrowing exceptions with an example?
When is the destructor called?
How to declaring variables in c++?