About Question com.enthuware.ets.scjp.v6.1.817 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scjp.v6.1.817 :

Post by ETS User »

Anwser marked correct is invalid, just count parenthesis - what is more, after such code block (declaration of enum values) there must be semicolon to divide between code (if exists) and declaration

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

Re: About Question com.enthuware.ets.scjp.v6.1.817 :

Post by admin »

The given answer is correct. There is no problem with it. I just verified it by typing in the exact contents of the answer to a file Season.java and compiled it.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: witek_m and 9 guests