aspose file tools*
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 Spring in Action this week in the Spring 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 ]
 
 
subject: protected allowed in enum. So extending enum types possible?