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

A rectangular prism shaped toy 6 in by 1 in by 2 in. What's the volume of the toy in cubic inches? You will get 15 points!
At 7:00 am, the temperature was -4℉. At 9:00 am, it was 8° warmer. What was the temperature at 9:00 am? *
I don't even know anymore.
Every morning, Jim goes for a morning walk. His normal walking speed is 3 1/2 km per hour, and he walks a total distance of 10 km every day. How much time does
Collins has a part-time job as a dog walker. The table below shows the amount of money Collins earned for different numbers of hours of work: Collins' Earnings
Identify and explain three major events in the Pacific theater.
A volcano is advantageous and disadvantageous both. Give reason.
can you please help me with this question?​
Please help I have 30 mins
How fast is a ball going when it hits the ground after being dropped from a height of 16 m? The acceleration of gravity is 9.8 m/s2 A. 22.5 m/s B. 28.1 m/s O C.