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

Which statement best describes civil liberties in the U.S. during World War I?
which plant cell organelle uses light energy to produce sugar
Which of the following was not an Eastern European nation under Communist control? A. Poland B. East Germany C. Romania D. Spain
10 sentences using AR verbs
In the Treaty of Guadalupe-Hidalgo, the United States A. acquired most of the land owned by Mexico. B. established Texas as an independent republic. C. paid $15
Which words are the first and last words of the participial phrase in this sentence? We went over the whole chapter, beginning with the first page. A. beginni
Line CD passes through points (0, 2) and (4, 6). Which equation represents line CD?
What was the first manned mission to reach Mars?
By using sound waves, _______ signals allow oceanographers to determine ocean depth.
Karim says the ratio of the distance he ran to the distance Shawn ran 4:3 give three possibilities for the distance each could have run