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

As you move from left to right across any period what are two constants (with few exceptions) that you notice? *perodic table*
Watkins Elementary School is painting the desks. Each desk takes 1/3 of a liter of paint. If the school buys 6liters of paint, how many desks can they paint? Wh
Find the missing length of the triangle
A light flashes every 8 seconds. How many times would it flash in 3 minutes? Please help me I have no brain cells left for this :)
50 + 6b = 86 help pls
What is the following quotient? StartFraction 1 Over 1 + StartRoot 3 EndRoot EndFraction
A mathematical expression that consists of variables,nubmers and operations​
I need help with my Greek Mythology story
Which line contributes to the dismal and dreary mood of the poem?
A garden is constructed in the shape of a right triangle with legs of length 10 feet and 12 feet. Find the area of the garden. A) 44 square feet B) 60 square f