Step by step learning
What is the result of this code?
int number = 90; switch (number) { case 50: System.out.println("50"); case 50: System.out.println("50"); case 140: System.out.println("140"); default: System.out.println("default"); }
50
140
This code won't compile.
90
Please log in or register to have a possibility to add comment.
Please log in or register to have a possibility to add comment.