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

"One hundred years of delay have passed since President Lincoln freed the slaves, yet their heirs, their grandsons, are not fully free. They are not yet freed f
A fifth-degree polynomial with leading coefficient 4
What is the most likely reason economic prosperity created an interest in literature and the arts during the medieval period? a) More people wanted to invest m
what is the advantage of timing for a full minute to find your pulse?
Which describes the effect of stress on the circulatory system during the alarm stage?
a place that is typically cold because of an increase in altitude would most likely have what type of climate? dry climate mild climate continental climate moun
what is the advantage of timing for a full minute to find your pulse?
38 is 0.02% of what number
After we found the classroom, we sneaked in the back and took our seats. what is the subordinate idea in the sentence?
Which statement describes an impact of the collapse of the Western Roman Empire on Europe A. Europe's economy improved significantly as new roads and infrastru