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

What is a instrument that measures precipitation?
The density of gold is 19.3 g/cm3. The density of iron pyrite is 5.0 g/cm3. If a nugget of iron pyrite and a nugget of gold each have mass of 50g, what can you
What component of the circulatory system is at the tissue level? a. blood b. white blood cell c. heart d. hemoglobin
What is more permeable? Gravel, sand, or silt?
Fred completed 10 math problems this is 40% of the math problems he must do how many are left??
Dorothy types 120 words per minute. How many words does Dorothy type in 1.75 minutes?
When changes occur in a DNA sequence, _______ produced from the DNA may not function correctly, and a _______ disease may result. A.proteins, genetic B.carbohyd
why was a formal education more important for urban Americans than rural Americas
If a machine takes 1 minute to fill 6 cartons of eggs, about how long will it take to fill 418 cartons?
a specialized dictionary is one that