CONSTRUCTOR is a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object. It can be used to initialize the objects to desired values or default values at the time of object creation.
Answers & Comments
Answer:
A constructor in Java is a special method that is used to initialize objects. The constructor is called when an object of a class is created.
Answer:
CONSTRUCTOR is a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object. It can be used to initialize the objects to desired values or default values at the time of object creation.
Explanation: