---
title: "Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?"  
description: "Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?"  
author: "Anonymous User"  
published: 2011-05-20  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/958/is-it-possible-to-have-virtual-constructor-if-yes-how-if-not-why-not-possible  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible?

There is nothing like Virtual Constructor. The constructor can’t be virtual as the constructor is a code which is responsible for creating an instance of a class and it can’t be delegated to any other object by virtual keyword means.

## Answers

### Answer by Anonymous User

There is nothing like Virtual Constructor. The constructor can’t be virtual as the constructor is a code which is responsible for creating an instance of a class and it can’t be delegated to any other object by virtual keyword means.


---

Original Source: https://www.mindstick.com/interview/958/is-it-possible-to-have-virtual-constructor-if-yes-how-if-not-why-not-possible

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
