DRAFT
AllClassesHaveDefaultConstructor
Misconception:
All classes get a no-argument constructor if the developer hasn’t added a no-argument constructor explicitly.
Incorrect
All classes automatically get a no-argument constructor
Correct
Only classes without constructor automatically get a no-argument constructor
CorrectionHere is what's right.
Here is what's right.
A class only gets a default constructor if it contains no constructor declaration.