Ask Question
1 August, 06:19

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

+1
Answers (1)
  1. 1 August, 06:26
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “When an object is defined without an argument list for its constructor, the compiler automatically calls the object's default constructor? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers