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

PLS HELP ME Which type of reproduction provides organisms with the following disadvantages? Organisms must grow until mature enough to produce sex cells. Findin
Please helppppppp!!!!!!
Jim Brady served in what capacity for Ronald Reagan at the time he was shot in the head during the assassination attempt of President Reagan? A. White House Pre
What is the need for the enforced equality in our country? Explain with the help of real-life examples in grade 7.
1. James Madison once stated that the Constitution divided power between two distinct governments which, in turn, subdivided among distinct and separate departm
The Pythagorean Identity states that: (sin x)2 + (cos x)2 = 1 Given sin 0 = 73, find cos 0. 27 cos 6 = 2 Simplify the fraction.
Which properties of water are most responsible for the capillary action in plants?
What drug is used to control the populace of Brave New World? A.) Prozac B.) Soma C.) Ecstasy D.) None of these are correct
Can you find the rhombus’ perimeter I’m marking branliest
what's the value of x and y?​