*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes protected allowed in enum. So extending enum types possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "protected allowed in enum. So extending enum types possible?" Watch "protected allowed in enum. So extending enum types possible?" New topic
Author

protected allowed in enum. So extending enum types possible?

Firas Zuriekat
Ranch Hand

Joined: May 09, 2006
Posts: 144
The following compiles fine:



So is extending MyEnum allowed? I mean could the protected member above be overridden?
[ June 02, 2006: Message edited by: Firas Zureikat ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: protected allowed in enum. So extending enum types possible?
 
Similar Threads
i want some information related to enum keyword
JPA enum mapping by explicit getId()
"casting" an int to an enum type
enum and inner class
enum constructors