TTilley297 TTilley297
  • 03-12-2021
  • Computers and Technology
contestada

How to make classs constructer java.

Respuesta :

Аноним Аноним
  • 03-12-2021

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:

Answer Link

Otras preguntas

What is the value of x? 3(x-2)+5x=18
Judging from the history of sumer,what geographic conditions would help other ancient civilizations to develop?I need answers fast please!!!!
what is the equation with a slope of 0 that contains the points (8,-9)
Jobs in the skilled labor category require what?
What was the connection, if any, between Egypt's geography and its achievements?
The Articles of Confederation provided the newly declared republic with a means of governing _______________________. A. during and immediately after the revolu
a seamstress has a piece of cloth that is 3 yards long. she cuts it into shorter lengths of 16inches each. how many shorter pieces can she cut
Brianna is getting materials for a chemistry experiment her teacher gives her a container that has 0.15 L of liquid in it Breonna needs to use 0.4 of this liqui
Which of the following is NOT a valid reason for using credit?
Who took the lead in making sure the bill of rights was eventually included in the constitution