1.

What Are The Various Types Of Constructors?

Answer»

There are three various types of constructors , and they are as follows:.

  • Default Constructor – With no parameters.
  • PARAMETRIC Constructor – With Parameters. Create a NEW instance of a class and also passing arguments simultaneously.
  • Copy Constructor – Which CREATES a new object as a copy of an EXISTING object.

There are three various types of constructors , and they are as follows:.



Discussion

No Comment Found