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 are physics and chemistry related with health education​
2. Describe social diversity and discuss two examples.
In triangle XYZ. the measurements of angle X and angle Y are 45° Which is the longest side of the triangle​
HELP WILL GIVE BRAINLIEST
Is x-3 a factor of x- 9x² - 14x + 24?
You have received a letter from your English-speaking penfriend. I'm doing a social studies course at college and I've got a project to do about family life. Ca
Ryan spent 1/3 of his monthly salary for rent and 1/7 of his monthly salary for his utility bill. If $759 was left, what was his monthly salary?
high Performace Favorit Emily
Calculate the mass of Na2S needed if a solution containing 2g of Hg(NO3)2 was added to Na2S solution. ( Hg= 200.59, N= 14, O= 16, Na= 23, S=32)​
Solve the inequality 5x + 3 2 >48