This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Switch Statement" Watch "Switch Statement" New topic
Author

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?

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

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

Joined: Oct 14, 2002
Posts: 8803
    
    5
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: http://aspose.com/file-tools
 
subject: Switch Statement
 
Similar Threads
Question 95 Rules Roundup
Switch statement
complex conditions in switch statement is possible?
SWITCH
is there a quicker way to read in input besides bufferedreader?