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

why did some chiefs decide to fight when english colonists moved into their territory?plz help me
If you know two points on a line, how can you find the rate of change of the variables being graphed?
What is being personified in the following passage? Fear had settled over the city.
Let E and F be independent events in a sample space S with Pr[E] = 0.4 and Pr[F] = 0.2. Find Pr[EUF] A.0.60 B.0.52 C.0.40 D.0.32 E.0.08
while your finger is still pushing the coin, there are four forces acting on the coin: what are they?
briefly describe the five stages of the cell cycle
Which of the following differs when comparing the deep ocean to the intertidal zone? PLEASE HELP!!! •need for energy •salinity •the amount of sunlight •relianc
Prove the identity: cos(3x) + cos(x) = 2cos(2x)cos(x) I'm almost done with my homework, just got stuck on this one.
briefly describe the five stages of the cell cycle
How many counting numbers are between 30 and 65, not including 30 and 65?