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

Do you believe racial discrimination still happens today? Explain in a minimum of 5 complete sentences.
une Quíz Active TIME REMAINING 58:23 1 00000000 What is a major difference between the accounts presented in the primary source article "Prominent Farmer Robbed
1. Which of the following happens when an ionic bond is formed?(1 point) Two atoms share an electron. Two atoms attain equal electronegativities. One atom becom
Now that you have worked through a lot of material that includes these basic patterns, and you have compared grammatically correct and incorrect sentences, writ
adjust the viscosity of the paint
Do you think flowers are important to mankind? If yes explain why in your own words please
what should I answer?​
1 In what year was the Spanish King able to prove that the world was indeed round? ​
50 POINTS EASY QUESTION draw a diagram of water crossing a membrane by osmosis
At Levi's restaurant and bakery, each cake is cut into 16 pieces. Let c represent the number of cakes and p represent the total pieces of cake. Complete the tab