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

Total Post:505

Points:2525
 2101  View(s)
Ratings:
Rate this:
  1. Post:505

    Points:2525
    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.

Answer