aris8tereMary aris8tereMary
  • 26-03-2017
  • Computers and Technology
contestada

When an object is defined without an argument list for its constructor, the compiler automatically calls the object's default constructor?

Respuesta :

spartan1244 spartan1244
  • 27-03-2017
Yes, but your wording is a little off. When an object is created without an argument list/ parameters, the default constructor is called. The one caveat is if the default constructor has been deleted. Then a compilation error will be thrown. I'll also add that it depends on the language and compiler. So if you want more details, you need to tell us what language you are referring too.
Answer Link

Otras preguntas

Bien dicen que lo mejor llega cuando menos te lo esperas.
look at the photo please
A pie has a circumference of 31.4 in. What is the diameter of the pie?
Explain how one or more of the body’s organ systems can affect the alveoli to maintain homeostasis
The primary cause of the War of 1812 was the violation of American rights at sea. True or False
Solve for x: 3.2 + 4 = 9x +3 A.1/3 B.-1/3 C.1/6 D.none of the above
a pack of 8 batteries costs £3.99
The agonist--antagonist opioids are designated as _________________ because they bind to more than one opioid receptor site.
Can someone help me with the table on 13 using the question at the top
1. Describe the social, economic, and political changes, which occurred in Europe and led to exploration and colonization of the “New World."