Can we have "Virtual Constructors"?
2965
23-Nov-2010
Amit Singh
23-Nov-2010Reason:A virtual call is a mechanism to get work done given partial information. In particular virtual allows us to call a function knowing only an interfaces and not the exact type of the object. To create an object you need complete information. In particular you need to know the exact type of what you want to create.