public static void main(String[] args) { int j = 10; switch (1) { case 20: j += 1; case 40: j += 2; default: j += 3; case 0: j += 4; } System.out.print(j); }
int j = 10;
switch (1) {
case 20:
j += 1;
case 40:
j += 2;
default:
j += 3;
case 0:
j += 4;
}
System.out.print(j);
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.