Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible ? c++

There is nothing like Virtual Constructor. The Constructor cant be virtual as the constructor is a code which is responsible for creating a instance of a class and it cant be delegated to any other object by virtual keyword means.

No comments:

 
Top Blogs