File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Switch Enum Question

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 392

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

Joined: Feb 02, 2006
Posts: 2023
Check this link

14.11 The switch Statement

[ October 28, 2006: Message edited by: wise owen ]
I agree. Here's the link:
subject: Switch Enum Question
It's not a secret anymore!