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

what is lithosphere state of matter
How many yards is the library to the post office
The Eu modified its Common Agricultural Policy (CAP) in an effort to reduce expensive and unwanted surpluses. This is an example of a. extensification b. spec
The high point of the action is the _____. a. climax b. denouement c. crisis d. conflict
how many pairs of parallel sides does a trapezoid have?
The term "doughboy" referred to American,French, English troops during World War I.
Which name refers to the slaves who worked at hard labor in the city-state of Sparta? A. helots B. hoplites C. warriors D. phalanx
Which cell structure functions to store genetic information that provides instructions for a eukaryotic cell? Select one: A. nucleus B. cytoplasm C. mitochond
Explain why during the presidential election of 1860, none of the southern states voted for president lincoln
Who was president during the Berlin Airlift? A. Franklin Roosevelt B. Dwight Eisenhower C. Herbert Hoover D. Harry Truman