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

Read this excerpt from "The Light of Gandhi's Lamp" by Hilary Kromberg Inglis, in which she describes driving to the police station where her sister is being de
Which type of website is mostly to be biased when proving information about a product
HAMLET ACT 1 What task does king Claudius give to Cornelius and voltemand?
Autotrophs A.Consume their food to get energy B.May use photosynthesis to gain energy C.Are also called consumers D.Cannot use solar energy
Find the ratios of the corresponding sides
HAMLET ACT 1 What does queen Gertrude tell hamlet?
Can someone tell me if this is perpendicular? Thanks!!!
Using the periodic table, complete the table to describe each atom. Type in your answers.A ? b?c?D?E?F?
100 POINTS! PLEASE HELP ME
a cd that is originally priced at $15.85 red-tagged for the sale. what is the sale price of the cd