I encountered a question that asks "Which of the following are true about the "default" constructor?"
and an option "It initializes the instance members of the class." was incorrect choice.
Now my understanding was that if we have a code such as
Class Test {
String name;
}
then the compiler creates default constructor that looks like
Class Test {
String name;
Test(){
super();
name = null;
}
}
Isn't the default constructor initializing the instance member name=null ?