GamerGeorge101
GamerGeorge101 GamerGeorge101
  • 03-05-2018
  • Computers and Technology
contestada

In object-oriented programming, what is a constructor?

Respuesta :

Diatonic254
Diatonic254 Diatonic254
  • 04-05-2018

A constructor in object-oriented programming is a special method of a class or structure that initializes an object of that type. Basically, it resembles an instance method that usually has the same name as the class. In simple terms, it is a subroutine called to create an object.






Answer Link

Otras preguntas

What are three adaptations that allow fish to live in water?
PLEASE HELP! (WILL GIVE BRAINILEST ANSWER) Triangle ABC has angle measures as shown. (a) What is the value of x? Show your work. (b) What is the measure of angl
What is the area of the pool?
Plz help question below
What major event occurred during the first year of Herbert Hoover's presidency? A. the bombing of Pearl Harbor B. the explosion of the Hindenburg C. the sink
In the xy−plane, the center of a circle has coordinates (6,10) and the circle touches the y−axis at one point only. What is the radius of the circle? A. 6 B. 1
Of the following, which factor or factors would make it more likely that buying an extended warranty is a good idea? I. The extended warranty overlaps with the
The histogram shows the numbers of people who volunteered for community service and the number of hours they worked. Use the histogram to answer the question.
What effects do currents have on objects in the ocean
What is the purpose of a literary analysis essay?