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

In a class of 78 students 41 are taking French, 22 are taking German. Of the students taking French or German, 9 are taking both courses. How many students are
Rachel can make 3 bracelets in an hour. Oliver can make only 2 bracelets in an hour, but he already has 5 completed bracelets. Explain to Rachel how she can use
Which formula represents an ionic compound? (1) NaCl (3) HCl (2) N2O (4) H2O
Explain how the Vietnam War first allowed the expansion of presidential power and later caused power to be limited.
What Are The Branches Of Botany?
If x² - y² = 55, and x - y = 11, then y = a. 8 b. 5 c. 3 d. -8 e. -3
Which substance can not be decomposed by a chemical change? A. Ne B. N2O C. HF D. H2O
What Are The Branches Of Botany?
World war I ___ expressed disillusionment about reason and progress
Which substance can not be decomposed by a chemical change? (1) ammonia (3) propanol (2) copper (4) water