Multi-constant case labels java 15 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;
}