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 the difference between equal to (==) and assignment operator (=)?
what is data abstraction in C++?
What is virtual methods?
In a function declaration what does extern means?
What is function overriding in c++?
What is a dangling pointer in c++?
Which function cannot be overloaded c++?
What is c++ stringstream?
How would you obtain segment and offset addresses from a far address of a memory location?
Can we sort map in c++?
What are move semantics?
What is this pointer in c++?
What does std :: flush do?
What is stl containers in c++?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.