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

Assume you have written a method with the header num mymethod(string name, string code). the method's type is
which of the following charts describes a system that is in solution equilibrium
Which is the best example of a pioneer species that would be found where a glacier has retreated?
A client who has been prescribed an inhaler points to the spacer and asks, "what is this for?" what is the appropriate nursing response?
20 POINTS!!! Determine the domain and range of the function
"a client with chronic kidney disease reports not being able to urinate for the past 24 hours. a bladder scan shows no urine in the bladder. how does the nurse
Which part of an egg is most similar to the cell membrane?
Business and its work or are in conflict business wants to keep pay and benefits the same wall workers want hey to increase who must female with to decide what
write an algebraic expression for the word phrase 9 less than half a number
The width of a rectangle is 5 more than twice the length. the perimeter of the rectangle is 28 in. what is the length and width of the rectangle?