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 the role of turbines and generators in the production of electricity from wind?
what is the answer to 2/3 (x +2) -1/3(x-2)
_____ formatting is the process of changing the way letters, numbers, punctuation marks, and symbols appear on the screen and in print. (Points : 2) a. Documen
23 Which term identifies a type of organic reaction? (1) deposition (3) esterification(2) distillation (4) sublimation
Is it really incorrect to start a sentence with “and”?
how are real numbers used in everyday life
What was the Berlin Airlift? a. a successful attack by the Western Allies on the city of Berlin during World War II b. a successful plan by the Western Allies
A _________________ is when the courts allow people who have all been harmed to pool grievances and sue for damages on behalf of the group. a. small claims cou
27 Which energy conversion must occur in an operating electrolytic cell? (1) electrical energy to chemical energy (2) electrical energy to nuclear energy (3) ch
how does classical literture compare with enlightment literture