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

PLEASE HELP!?!!?!?!!! Write -1.5 as a mixed number in simplest form.
Which of the following is the additive inverse of 1/2? O -1/2 O 2 O -2​
Why is it so important for Evie’s father to testify in this case? What other actions could he have taken? How does his job as a policeman interact with his race
Please help! I will mark as brainliest IF answer is right. <3
A metal rod is placed in a hot fire. Some of the metal turns orange and becomes runny Which answer choice best explains what happened in this scenario? The part
what is the computer generation​
May I please receive help
A pharmacy has determined that a healthy person should receive 70 units of proteins, 100 units of carbohydrates and 20 units of fat daily. If the store carries
In order to make a molecule, elements need to be connected together. This is done by bonding through all of the following ways EXCEPT? Hydrogen Bonding Duct Tap
the children always __ (watch) TV at nightHELP PLEASE ​