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

Peter walked 8900 feet from school to home how far to the nearest 10th of a mile did he walk?
explain the difference between nuclear fission and fusion?
5. Convex mirror a)Converges the beam of light after reflection b)Diverges the beam of light after reflection c)Reflects the beam of light parallel d)None of th
Q9. The solution of the form (b, - b) always satisfy the equation: a.x=-b c.y=x b.y = -a d.x+y=0​
Help plsssssssssssssssssss
Activity: Use a dictionary and fill in the empty boxes with the correct parts of speech for the given root words. Please note that some root words might not hav
I need help with this please, my test is tomorrow and my teacher left the school.
Why are ferromagnetic materials used in computer hard drive
Peter walked 8900 feet from school to home how far to the nearest 10th of a mile did he walk?
What percentage of the circle is shaded? * Between 0 and 25% Between 25% and 50% Between 50% and 75% Between 75% and 100% 1 point​