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

why is the square root of a perfect square always rational
why did Mr Collins come to the Bennet family looking for a wife?
Angie takes a random sample of 100 students in her school and finds that 58% of the sample prefers art over music. There are 1,200 students in the school. Based
lya took one hour to drive from his apartment to Philips Arena and back. The return drive took 8 minutes less than the trip to the arena. If x represents the ti
a summary about concussions
what is the lcd of 10/11,29/44
all 231 students in the math club went on a field trip. some students rode in vans ehich hold 7 students each and some students rode in buses which hold 25 stud
A generator stores electric current. Explain why you agree or disagree with this statement
COMPARISON; 1. How is concrete like chocolate 2. How is a shirt like a picture 3. how is an elephant like a cloud
is a centimeter one tenth or one hundredth or a meter