MrNathan MrNathan
  • 07-01-2019
  • French
contestada

What is a Java constructor

Respuesta :

GoldishBluebaby
GoldishBluebaby GoldishBluebaby
  • 07-01-2019

A Java constructor is special method that is called when an object is instantiated.

Answer Link
0CoralineJones
0CoralineJones 0CoralineJones
  • 09-01-2019

A constructor in Java is a block of code similar to a method that's called when an instance of an object is created. Here are the key differences between a constructor and a method: A constructor doesn't have a return type. ... Unlike methods, constructors are not considered members of a class.

Answer Link

Otras preguntas

why is haemoglobin a pure substance
All poems have some sort of rhythm. a. True b. False
Jake boils some water to make a cup of tea. He uses a 5 kW kettle that takes 2 minutes to boil the water. a)Calculate how much energy Jake used,in kWh,to boil t
the counting numbers,together with 0,are called the blank numbers
when was the christmas carol "Silent night" Composed?
what is 5.82 rounded to the nearest whole number?
All poems have some sort of rhythm. a. True b. False
HELP! 10 PTS! Two objects of different mass have equal, non-zero kinetic energies. Which object has the greater momentum? The heavier object, the lighter object
The Crusades helped to increase the flow of trade in Europe. a. True b. False
Which ecosystem contains 32% of the world's producers? a. terrestrial ecosystem. b. freshwater ecosystem. c. aquatic ecosystem. d. marine ecosystem