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

Guillaume Amontons first took a stab at measuring absolute zero in 1702. What would be the most reasonable way it would have been done then
Research and write in two well-developed Spanish paragraphs (4-6 sentences each), a brief biography about one noteworthy Latino/a
Which sentence in the text foreshadows an internal conflict in the excerpt? The Dreamer Dreams are beautiful. They go beyond your imagination and create a world
Need help ASAP!! Will give Brainliest
How to calculate Tax Income and Capital Gain?
What started the modern Agricultural Revolution? new types of crops improved farming methods greater demand for food More fertile soil
Why was the Revolutionary War a problem for Native American tribes? Question 9 options: Their land was bought by the British settlement of Canada. The American
The federal trade commission requires franchisors to.
The Taieri Plain in New Zealand is 6 feet below sea level (or –6 feet). If you are standing 3 feet above sea level, is your elevation the opposite of the elevat
When there are a lot of molecules in one place it is considered an area of: