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

Granite rock is light in color. Which feature directly contributes to this color? the process that forms granite the amount of silica minerals in granite the sh
Identify the number as a rational or irrational.explain. 127
How to divide decimals
The perimeter of a picture frame is 24 inches. If the width of the picture frame is 5 inches, what is the length of the picture frame?
A clothing store has the sign shown in the shop window. Pani sees the sign and wants to buy 3 shirts and 2 pairs of jeans. The cost of each shirt before the dis
A garden consists of an apple tree, a pear tree, cauliflowers, and heads of cabbage. There are 40 vegetables in the garden. 24 of them are cauliflowers. What is
What role do traits play in affecting an organisms ability to reproduce? finches
Identify the polynomial. welpp??? a2b - cd3 A.monomial B.binomial C.trinomial D.four-term polynomial E.five-term polynomial
who suggested that we feel sorry because we cry... afraid because we tremble
I know the answer to 13 is B and 14 is D. I just need to know why the correct answers are correct