- 1

Why wont this work switch (fatness) { case 100: System.out.println("100");

13th Jul 2021, 9:34 PM
Isaiah Alexis
Isaiah Alexis - avatar
2 Réponses
+ 2
We need more context to understand what happened in your code. But first, check if your case sentence is equal to the type of the variable and put the break; in each case
14th Jul 2021, 12:12 AM
Luis E. Gómez Mena
Luis E. Gómez Mena - avatar
+ 1
Thx
14th Jul 2021, 1:16 AM
Isaiah Alexis
Isaiah Alexis - avatar