aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 8764
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.)
It is sorta covered in the JavaRanch Style Guide.
subject: Switch Statement
Similar Threads
is there a quicker way to read in input besides bufferedreader?
Question 95 Rules Roundup
Switch statement
complex conditions in switch statement is possible?