Take a look at this tutorial on switch statements:
The switch Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
It could do what you ask, and you can use the default...
Type: Posts; User: ChicoTheMan94
Take a look at this tutorial on switch statements:
The switch Statement (The Java™ Tutorials > Learning the Java Language > Language Basics)
It could do what you ask, and you can use the default...