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

y is inversely proportional to square of x when y=10 and x=3 find value of y when x=1/2
What is the place value of 7 in the number 2376400? A.70 B. 700 C 7000 D. 70000 E 700000
why the nepal is rich in natural resources but back in development. write any six points​
what is the biggest things that happened under First World War and what is the biggest causes. I know that the biggest reason is the shooting of Franz Ferdinand
PLEASE HELP Will give brainliest and 5.0 rating xx
HELP FAST 15 POINTS!!!!!
What two factors allow Ecologists determine a populations density?
Diego Rivera "Man at the Crossroads." Who was Diego Rivera? What did he do? Why was he famous? What is the significance of the painting? 10 Paragraphs
write an equation in point slope form for a line that passes through (2,-3) and (1,5)​
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 STAR RATING