Page 1 of 1

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

Posted: Sun Aug 26, 2012 12:13 pm
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

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

Posted: Sun Aug 26, 2012 12:22 pm
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.