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

How did John Calvin’s ideas take root in the American colonies
Which sentence is an example of personification? A. "The body turned over and over in space and hit the ground with a dull thud." B. "The cloud of fear scatt
What is the function of the pancreas? What is the function of the liver?
How would I solve this?
I need help on this question on my Chemistry Final Exam Practice Sheet ! 50 POINTS
Explain at least three ways trees assist in keeping high water quality?
Is nausea the response or the stimulus garcia?
a right triangle has side lengths of 5cm, 12cm, and 13cm. what is the length of hypotenuse? how do you know?
Help pls I'm rlly bad at math
How did the culture of the nok changed by an outside force?