beingchinmay
New member
• A default constructor is a constructor in both that has no parameters or where it has parameters they are all defaulted.
• If no constructor is supplied then the compiler will supply a default constructor.
• This default constructor is a parameter less constructor with no body, which calls the parameter less constructor of the base class.
• If no constructor is supplied then the compiler will supply a default constructor.
• This default constructor is a parameter less constructor with no body, which calls the parameter less constructor of the base class.