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

Is a triangle with the side lengths 4 feet, 7. 5 feet, and 8. 5 feet a right triangle? Why or why not? ​
A local gym charges a flat monthly fee plus a fee for each day the gym is used. The total cost in dollars, y, to use the gym for x days can be found by the equa
Please help me with this math problem!! Will give brainliest if correct!! :)
Where did Julius Caesar achieve victories during the civil war he had begun? Choose three correct answers. Asia Minor Greece Persia Egypt
How is cognitive therapy different from rational-emotive therapy?.
You will instantly feel comfortable on your first visit to a museum. A. True B. False
What’s your favorite volor
find the are of the shape below
Wich of these words best describes the word ALLUDE?​infer fact show happy
The chocolate candy below is being wrapped in a cardboard box. How many square centimeters area needed for the box?