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

If you exert a force on an object in motion you will change its ____. a. mass c. inertia b. weight d. momentum
The process by which a cell divides into two daughter cells is called A. cell division. B. metaphase. C. interphase. D. mitosis.
An interrupted-area projection shows the least distortion in land areas. True or False
One example of a very complex land ecosystem full of thousands of kinds of living things
what is the reciprocal of 2 7/10
450 is 75% of what number?
Rachel runs 3.2 miles each week day and 1.5 miles each day of the weekend. how many miles will she have run in six weeks?
A scientist repeats another scientist's experiment but guts different results. What are possible causes
On her way to visit her parents,jennifer drives 265 miles in 5 hours. What is her average rate of speed in miles per hour?
Which part of a scientific argument must be supported by valid data