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

Is congress made of 100. Judges and 435 representatives
The Assignment Of The Members Of A Football Team To Jersey Numbers.
Are the light waves reflecting off a red stop sign longer or shorter than the waves reflecting off a Violet colored jacket
discuss how fossils provide evidence of change from the earliest life forms to those alive today
What is 1/3 of $55,000.00
Background Info:The standard enthalpy of formation (ΔH∘f) is the enthalpy change that occurs when exactly1 mol of a compound is formed from its constituent elem
If there is a sexually-transmitted disease"AIDS", how to cure it?
If there is a sexually-transmitted disease"AIDS", how to cure it?
Answer to this question please ASAP
how do you solve for sinxcos2x+cosxsin2x=0 ?