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 Statement 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 Statement" Watch "Switch Statement" New topic

Switch Statement

Anjana Ravindran
Ranch Hand

Joined: Aug 22, 2005
Posts: 76
Let me know whats this question talks about. What does parameters mean here? R they referring to case constants?

What are the valid parameters for Switch statement?
pravin kumar
Ranch Hand

Joined: Nov 03, 2005
Posts: 30
i's regarding all possible input parameters to the switch statement which are int,short,byte,char
Bert Bates

Joined: Oct 14, 2002
Posts: 8898
don't forget enums

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link:
subject: Switch Statement
It's not a secret anymore!