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

Plz help meeeeeeeeeeeeeeeee
HURRY HURRY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Having just one typo on your résumé can eliminate you from a job pool. TRUE OR FALSE
The meteorologist predicted that it would snow 12 inches. However, it actually snowed 18 inches. Find the percent of error of the meteorologist's prediction.
When A is changing at a rate of -0.130 M⋅s−1 , how fast is B changing?
What quality of a rhombus makes it different from a parallelogram. Please wright in 2 sentences
Twenty Thousand Leagues Under the Sea is science fiction.
who founded islam? i reaaly need to know this
Instructions: Listen to the passage and fill in the blanks with the words that you hear. You’ll hear the poem two times. En la 11. ___________ te llamé. De la o
Why do you think the dictators/military leaders found widespread support among the people of their nation?
Kylie and her two sisters each have 1/4 cup of chopped pineapple how much pineapple do they have in all