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

He structure of the government of the united states allows for the legislative branch to write laws, the executive branch to enforce laws, and the judicial bran
What are two substances that are useful because of their viscosity ?
How did President Carter’s energy policy address our dependence on oil.
How did opium affect life in China? A. Many Chinese people became addicted. B. It allowed China to keep Great Britain out of China. C. It was
help plzzzz now In what way did European Imperialists keep the colonial subjects under control? a. They gave them opium and other narcotics. b. They encouraged
what was the main complaint about proposition 187
Charlie walk 9 blocks to school after school he walked 3 blocks to soccer practice he walks 7 blocks back home how many total blocks did Charlie walk in one day
human rights issues in of mice and men
which term describes the shaded portion of the poem
How do mycorrhizal fungi benefit plants?