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 of the following states are threatened by earthquakes? Alaska Arizona California Georgia Oregon Texas Washington
The points -5,2 and -5,8 lie on a circle with a radius of 3. Find the center of the circle.
What led to the economic crisis faced by small farmers?
A 1.00kg piece of aluminum metal at 90.0°C is placed in 4.00 liters (=4.00 kg) of water at 25.0°C. Determine the final temperature (Tf)
What do you think Luther’s motivation was in writing this text?
How do you decide what method of organization is best for your supporting evidence
What is the human capital and what is one important way you can invest in your own human capital?
what are some examples of equality in the workplace
7 × (–3) × (–2)2 = ? A. 84B. 48C. –84D. –48
(3)4+5 what is this answer I need to find it