Just trying to figure out how to use many multiple cases for a Java switch statement. Here\'s an example of what I\'m trying to do:
switch (variable) { c
The second option is completely fine. I'm not sure why a responder said it was not possible. This is fine, and I do this all the time:
switch (variable) { case 5: case 6: etc. case 100: doSomething(); break; }