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 was the goal of the league of Nations according to the political cartoon below A.to spread democracy to other countries
Part A: 1. Graph the rectangle with vertices A(2, -1), B(5, -1), C(5, -3), and D(2, -3). 2. Reflect the rectangle over the y-axis and graph. What are the coordi
After a party, there are 7/10 of the pizza left. Then Raj ate 30% of that. How much pizza did he eat?
How is robotics used to create eco-friendly food packaging
If you were a colonist living in Boston, what would you tell other colonists about the Boston Massacre. PLEASE HELP WILL MARK BRAINLIEST
Saint Domigue’s economy was dependent on plantations.
for free brainliest pls name the diesease that starts withp neumonoultram
100 POINTS!!Which sentence from the excerpt best supports George Washington's belief that the U.S. should deal cautiously in economic affairs?from Washington's
Tanya is saving for a vacation. She wants to have at least $75 for each of the 12 days of her trip. If she saves $85 each month for 10 months, will she save eno
the ___ aren't working today