Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Given:
- public class Breaker2 {
- static String o = "";
- public static void main(String[] args) {
- z:
- for(int x = 2; x < 7; x++) {
- if(x==3) continue;
- if(x==5) break z;
- o = o + x;
- }
- System.out.println(o);
- }
- }
- What is the result?
- A. 2
- B. 24
- C. 234
- D. 246
- E. 2346
- F. Compilation fails.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement