how to merge switch case in java 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;
}