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

PLEASE HELPPPP!!!!!!
Michaela is presenting research on modern trends in the fast food industry. Which should be one of the first things she includes in her presentation? A conclusi
Please help me solve this and also please show me the work :)
Describe a problem you’ve solved or a problem you’d like to solve. It can be an intellectual challenge, a research query, an ethical dilemma — anything of perso
Tissues are made of specialized cells that work together. Which two kinds of tissue contain similar types of specialized cells? A. Dermal B. Ground C. Xylem D D
Explain what a ratio is in your own words. (I need this, please. I will mark brainliest ; — ; no one has been frikin helping me)
Alpha Corporation has just paid its annual dividend and is looking forward to another successful year ahead. The company had free cash flow for the year just en
what is the solution to the system of equations?A.(3,-1)B.(-1,3)C.(-2,6)D.(6,-2)​
what is data? why is it important to collect data ? explain the points.​
For each pair solve of simultaneous equations solve for x and y x+y=13 and 8x-5y=0