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

how did the revolt in Haiti influence Napoleon's decision to sell Louisiana
find the length of the radius for this circle.(x-3)2+(y-5)2 =8
How did monopolies contribute to the economic challenges that farmers faced in the United States in the late 19th century?
Which description of jimmy carter is most accurate
Which word in the sentence is the predicate nominative? At the fair, the turtle races have become an annual event. A. event B. annual C. races D. fair
persuading your friend to make safe choices. List at least three dangers she may face and two alternatives for her to safely and legally enjoy the
80 is 160% of what number?
Theodore Roosevelt supported powerful corporations that
what advantages did the southern patriots have over the british in the south
Evaluate. 1 – 3 • 7 4 • 2 A. –28 B. –12 C. –32 D. –20