About question enthuware.ocpjp.v7.2.1223

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
Antot700
Posts: 3
Joined: Sun Apr 28, 2013 11:18 am
Contact:

About question enthuware.ocpjp.v7.2.1223

Post 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."
Attachments
2013-04-28_enthuware_01.png
2013-04-28_enthuware_01.png (64.74 KiB) Viewed 1949 times

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About question enthuware.ocpjp.v7.2.1223

Post by admin »

You are right. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest