About Question enthuware.ocpjp.v7.2.1463 :

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

Moderator: admin

Post Reply
gk_javauser
Posts: 9
Joined: Sun Jul 19, 2015 6:31 pm
Contact:

About Question enthuware.ocpjp.v7.2.1463 :

Post by gk_javauser »

Are there any special implications of an enum being declared static?

Thanks!

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

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

Post by admin »

No, nothing special that applies to only enums. It is just like declaring a static inner class.
If you like our products and services, please help us by posting your review here.

boyonsea
Posts: 16
Joined: Fri Sep 04, 2015 5:06 pm
Contact:

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

Post by boyonsea »

In my opinion, The question should mention that these are contents of a single .java file.
Then option 1 is correct.

jagoneye
Posts: 97
Joined: Wed Dec 28, 2016 9:00 am
Contact:

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

Post by jagoneye »

And to think that this was just meant to be a specification and not an ocjp question was so foolish of me! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests