0
When you are using the switch loop and you are stating your case, can you do something like this. Case1 >40 || <50
I am trying to use the switch method to do something
3 ответов
+ 4
pls ask the question clearly
+ 2
I think range expression like >40 || <50 cannot be done in switch case
0
yes u can use as
switch(true)
{
case (number<50);
System.out.println("number less than 50");
break;
...
..