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

18/48 as it's simplest form?
find the x-intercept of the parabola with vertex (6,27) and y-intercept (0,-81)
write 7340 in standard for
Calculate the following limit:
The number line shows the solutions to an inequality. Which inequality does not match the graph? <--|---|---|---|---|---|---|---|---|-> -4 -3 -2 -1
examples of three different types of computer storage
How do I apply the change of base formula to y=log (sub 3) x
Around the year 1000, Songhai’s leader converted to _____________________________, but most of the people continued to worship ________________________________.
Which one of the following sentences contains two ideas joined by a connecting word? A. Sally lives with her parents, although she could afford her own a
What is decrease £20 by 15%