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

Sing the information on slide 24, explain how dna evidence supports the known biology of the seven cone snails.
if f(x)=x^4-x^3+x^2 and g(x)=-x^2 where x=0 what is (f/g)(x)
please answer quick you will be rewarded handsomely!!!
The fact that water is less dense as a solid than as a liquid explains why
can someone please define variation for me?
EADY QUESTION WORTH 50PTS
How many planes exist that pass through points A, B, and C? 0 1 2 3
How many square yards of cement are needed to create the walkway around the rectangular pool?
The process of adding amendments to the U.S. Constitution is meant to A) allow Congress to quickly change the Constitution in times of crisis. B) provide the P
Interest rate 8% How long will it take for a $2000 investment to double in value? What will be the value in seven years of $12,000 invested today? How much w