Answer:
Java constructor is a special method defined in a class whose name s the same as the class name
Step-by-step explanation:
Java constructor is a special method defined in a class whose name is the same as the class name.
The constructor is called when the object is instantiated to initialize the fields in the object. Constructor can have no arguments or it can carry one or more arguments as per the class design. A default no argument constructor is made available for a class automatically even if one is not explicitly defined.
For example: MyClass c = new MyClass();
This will call the zero argument constructor of MyClass if it is defined or otherwise the default constructor for MyClass.