Are there any special implications of an enum being declared static?
Thanks!
			
			
									
									
						About Question enthuware.ocpjp.v7.2.1463 :
Moderator: admin
- 
				gk_javauser
 - Posts: 9
 - Joined: Sun Jul 19, 2015 6:31 pm
 - Contact:
 
- 
				admin
 - Site Admin
 - Posts: 10443
 - Joined: Fri Sep 10, 2010 9:26 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.v7.2.1463 :
No, nothing special that applies to only enums. It is just like declaring a static inner class.
			
			
									
									
						- 
				boyonsea
 - Posts: 16
 - Joined: Fri Sep 04, 2015 5:06 pm
 - Contact:
 
Re: About Question enthuware.ocpjp.v7.2.1463 :
In my opinion, The question should mention that these are contents of a single .java file.
Then option 1 is correct.
			
			
									
									
						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 :
And to think that this was just meant to be a specification and not an ocjp question was so foolish of me! 
			
			
									
									
						Who is online
Users browsing this forum: Bing [Bot] and 23 guests