aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Switch Enum Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Switch Enum Question" Watch "Switch Enum Question" New topic
Author

Switch Enum Question

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390


How come just saying CAT inside switch works?
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Check this link
http://elliottback.com/wp/archives/2005/03/03/enumerated-constants-in-java/.

14.11 The switch Statement

[ October 28, 2006: Message edited by: wise owen ]
 
 
subject: Switch Enum Question