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

How did archaeologists discover that people of ancient Mesopotamia built on top of earlier ancient cities? A. by deciphering the cuneiform found on clay tablets
what is the definition of inherent power
Why does photosynthesis require water? a. because water provides oxygen atoms b. because water provides electrons c. because water accepts electrons d. because
Why do the cells in all living things need energy? A. to fuel their chemical reactions B. to help them decompose C. to communicate with other cells D. so they c
Can you give examples of carbon in our living environment?
What was St.Cecilia's childhood like?
are part of your body's inherent immunity to disease.
Rewrite the equation in slope-intercept form, identify slope, and the y-intercept of the line. -x-10y=20
how to write a word problem
In the first pioneering movement, settlers made their way to Oregon and California by way of the ____ trail. A. Cumberland B. Overland C. California D.Kearny