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

7/2,16/6 tell whether froms a proportion
Does the setting have any influence on the characters?? In Emma the short story by Carolyn cole
Read the sentence. The honeymooners visited the vineyard. What is the best way to revise the sentence to include a prepositional phrase? A.To realize their drea
According to the Preamble, what are some goals of the Constitution?
if you were to write a narrative about you get dropped of in mars. What would you write
Also considered a custom style, ____ is the most flexible way to define a style. a. behavior b. class c. action d. selection
During a basketball game, Jerel attempted 40 shots and made 18. He says he made 40% of the shots he took. Is Jerel correct? Explain your reasoning
Which of the following phrases provides a context clue for the definition of the word exaggeration? only watch helplessly worst they had ever played as though e
1.263 x 10^9 - 1.525 x 10^7
Is water (H2O) a element? why or why not?