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 John Glenn's 1998 Comeback To Space Became The Sparkplug For The Rise Of High Definition Television For Live News Coverages In The United States In 1998?
Give me some idea as our school is having a science stem fair for middle school
Lines b and c are parallel (Picture include) What is the measure of ∠6? O m∠26= 45° O m∠26 = 54° O m∠26 = 117° O m∠26 126°
name the two organisations that help preserve our material heritage​?
How might the elixir the hero returns with help the people of his land? options: A.it brings knowledge B.it brings peace C.it brings healing D.all of these are
A patient in their twenties having the inherited disease ___ prevents the following symptoms: rapid acceleration of aging evidenced by wrinkling of skin, muscul
Why does Zarroff not hunt animals anymore? Explain fully​
A student is measuring the volumes of nectar produced by a flowering plant for an experiment. He measures nectar from 50 flowers using a graduated cylinder that
vigyan doctor 3 meter kise kahate Hain​
someone answer quickly please..