This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
If a class contains no constructor declarations, then a default constructor that takes no parameters is automatically provided: (...)
If choice a were "The superclass must not have any constructor other than a parameterless constructor." then it would be false.
Hopefully on the real exam you'll not find such wrong terminology.
Finally, there is one possibility when the code compiles, when the constructor you provide is the same as a default constructor would be - parameterless. But even then it should not be called "default constructor".
all events occur in real time
Joined: May 02, 2006
The makers of the test mixed up the terms "parameterless constructor" with "default constructor".
So did I!
Guess a 12 hour workday doesen't help in answering questions...