Define Types of Constructors

Implicit constructor:

  •  A constructor, offered by the compiler implicitly is called as "Implicit constructor".
  •  But the compiler automatically offers an implicit constructor, for "constructor-less class" only.

Explicit constructor:

  •  A constructor, defined by the programmer.
  •  It always overrides the implicit constructor.