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

how did you do 8 1/2 * 11 what are the steps in solving that? pls give a brief understanding.
What is the length of the hypotenuse of the triangle when x=11​? The length of the hypotenuse is about
how do you get 1.8 from[tex]f(2)=\frac{2}{1+e^{-(2)} }[/tex]
In 1-2 sentences each, explain the two narratives (stories) about Hiroshima.
please help with this i will mark
why is it suggested to use soap to a person suffering from bee or ant bite?​
describe the Endosymbiotic theory
Please I really need some help please please 30 points please 30 points 30 points 30 points Please help Please don’t answer if you don’t know how to or under
Why do state and Federal governments have three branches? O approve fair laws O provide a system of checks and balances O maintain equitable representation
What type of software is developed by volunteers, contains code in the public domain, and helped to make Linux popular