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 Spring in Action this week in the Spring 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: 8829
    
    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