williamschris2907 williamschris2907
  • 23-08-2017
  • Computers and Technology
contestada

When a dynamic array with a class for a base type is declared, which constructor is called?

Respuesta :

tonb
tonb tonb
  • 23-08-2017
The default constructor is called for each element of the array. So if you declare an array with 100 elements (object instantiations), the constructor is executed 100 times!
Answer Link

Otras preguntas

what number can 13 and 7 go into?
what does the Latin word turba mean in english
Write a paragraph in Spanish about what your ideal holiday is... Please help me only need 5/6 lines
estimate the number of pints in 445 ounces
Did the Louisiana purchase double or triple the size of the country
mr knote a piano tuner taps his 440-hz tunning fork with a mallet. what is the period of the vibrating fork?
what type of stories did greek plays tell?
who were the ancestors of the irish? how is their influence still part of irish culture?
why weren't slave marriages considered legal
What is a synonym for the unrestricted submarine warfare??