java switch 2 cases code example
Example: multiple case switch java
switch (variable)
{
case 5:
case 6:
etc.
case 100:
doSomething();
break;
}
switch (variable)
{
case 5:
case 6:
etc.
case 100:
doSomething();
break;
}