Page 1 of 1

About Question enthuware.ocpjp.v7.2.1463 :

Posted: Mon Jul 27, 2015 9:08 pm
by gk_javauser
Are there any special implications of an enum being declared static?

Thanks!

Re: About Question enthuware.ocpjp.v7.2.1463 :

Posted: Mon Jul 27, 2015 10:22 pm
by admin
No, nothing special that applies to only enums. It is just like declaring a static inner class.

Re: About Question enthuware.ocpjp.v7.2.1463 :

Posted: Sun Sep 06, 2015 6:06 pm
by boyonsea
In my opinion, The question should mention that these are contents of a single .java file.
Then option 1 is correct.

Re: About Question enthuware.ocpjp.v7.2.1463 :

Posted: Fri Jan 06, 2017 2:01 pm
by jagoneye
And to think that this was just meant to be a specification and not an ocjp question was so foolish of me! :)