Check out example codes for "multiple case switch java". It will help you in understanding the concepts better.
Code Example 1
switch (variable)
{
case 5:
case 6:
etc.
case 100:
doSomething();
break;
}
Learn ReactJs, React Native from akashmittal.com