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 f(x) is a third degree polynomial function how many distinc complex rules are possible ?
To use a stored address, C provides us with an indirection operator, ____. A) % B) ^ C) & D) *
A bolt comes loose from underneath an elevator that is moving upward at a speed of 5 m/s. The bolt reaches the bottom of the elevator shaft in 3.1 s.
A spacecraft of mass 1500 kg orbits the earth at an altitude of approximately 450 km above the surface of the earth. Assuming a circular orbit, what is the attr
Which linear inequality is represented by the graph? y > 2/3x – 2 y < 2/3x + 2 y > 2/3x + 1 y < 2/3x – 1
what is meant by responsibilities and duties​
A pointer is the memory address of a variable. FALSE TRUE
the postive aspects of stress are
slope of stress-strain curve in elastic deformation region is a. Plastic modulus b. Poisson's ratio c. Elastic modulus d. None the these a) all of these
What are the main types that geologists classify rocks into?