赞题库-背景图
单项选择题

Given this code inside a method:
13. int count = 0;
14. outer:
15. for(int x = 0; x < 5; x++) {
16. middle:
17. for(int y = 0; y < 5; y++) {
18. if(y == 1) continue middle;
19. if(y == 3) break middle;
20. count++;
21. }
22. if(x > 2) continue outer;
23. count = count + 10;
24. }
25. System.out.println("count: " + count);
What is the result

A.count: 33
B.count: 40
C.count: 45
D.count: 65
E.Compilation fails.
F.The code runs in an endless loop.
热门试题