Page 1 of 1

About question enthuware.ocpjp.v7.2.1223

Posted: Sun Apr 28, 2013 11:24 am
by Antot700
The source code cited in this question contains an extra closing curly brace that makes the code invalid for compilation (cf. the attached image).
However, the expected answer is "a NullPointerException stack trace".
You should either remove the extra curly brace or change the correct answer to "The code will not compile."

Re: About question enthuware.ocpjp.v7.2.1223

Posted: Sun Apr 28, 2013 11:35 am
by admin
You are right. Fixed.
thank you for your feedback!