kazal9843 kazal9843
  • 21-10-2020
  • Computers and Technology
contestada

called special
Why is
constructor
member function.​

Respuesta :

3372jay
3372jay 3372jay
  • 21-10-2020

A constructor is a special member function that is called whenever a new instance of a class is created. ... If a constructor has arguments, then they should also be added to the declaration of any other object of that class when using the new operator.

Answer Link

Otras preguntas

Why did england want to begin a colony on north America eastern shore
in division, why should the remainder not be greater than the divisor?
megan buys 3 bracelets and 3 necklaces. Each bracelet cost $5. Megan pays the clerk $40 and gets $4 change. What is the cost,in dollars,of one necklace.
Which part of the Constitution establishes the legislative branch of the government? A. Amendment I B. The Bill of Rights C. Article II D. Article I
What Was The Role Of The Roman Catholic Church During The Middle Ages?
what number is subtracted from 12 to get 9
Can you put cortex into a sentence
In a recent student government election, the ratio of students who voted for the winner to all the students who voted was 0.65. The number of students who voted
Why were American colonists upset with English rule in the 1760s? A. England didn't allow them to have their own tea parties. B. King George refused to appoint
Why did england want to begin a colony on north America eastern shore