At Westonci.ca, we connect you with experts who provide detailed answers to your most pressing questions. Start exploring now! Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

How to make classs constructer java.

Sagot :

Answer:

A constructor doesn't have a return type.

The name of the constructor must be the same as the name of the class.

Unlike methods, constructors are not considered to be members of a class.  

A constructor is called when a new instance of an object is created.

Explanation: