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

The Paston letters are excellent examples of which of the following? A) essential canonic works B) primary source documents C) spontaneously composed prose D)
What body systems do you use when eating breakfast?
-2>3(b+4)/-2 Which of the following best describes the solutions to the inequality shown above?
An industrial vat contains 650 grams of solid lead(II) chloride formed from a reaction of 870 grams of lead(II) nitrate with excess hydrochloric acid. This is t
What two kinds of elements join together to form an ionic compound?
5. What is the conflict of the novel? A. What will Charlie wear for Halloween? B. Why are the Herdmans so bad? C. How will Halloween be fun this year? D. Where
How do you graph y = 2x+3.
36. Rafael asserts that two eighths > one fourths, since 2 >1 and 8 > 4. How should you respond?
find f(-5)when f(x)=-9​
A car rental company recommends a car that can go 304 miles on 192 gallons of gasoline. However, there are other vehicles available that can travel more miles p