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

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

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. 

By:Umang
Date:2002-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher