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

The bulk of the Declaration of Independence is A. a set of procedures for handling the court system in New York. B. a summary of the new government of the thirt
Which of the following statements is true? Viruses are bigger than bacteria. Viruses conduct cellular respiration like any other living organism. Viruses have b
Which part of the United Nations mainly works to keep peace and solve disputes between countries?
Who convinced the railroad officials that it was possible to build a railroad line across the Sierra Nevada Mountains?
Denotation is _____. Select all that apply.
What multiplies to negative 90 and adds to negative 5
The following question refers to the section “Calypso, the Sweet Nymph”: To avoid offending Calypso, Odysseus carefully issues commands to his crew. behaves
Which of the following best describes a cone? A. A three-dimensional solid made from two parallel and congruent discs not in the same plane and all the point
Humans and animals alike have critical periods of development.true false
how is an ionic formed between two atoms