Java SE 6 Programmer Certified Professional (1Z0-851)
© examsiri.com
Question : 2 of 10
Marks:
+1,
-0
Given:
5. public class Buddy {
6. public static void main(String[] args) {
7. def:
8. for(short s = 1; s < 7; s++) {
9. if(s == 5) break def;
10. if(s == 2) continue;
11. System.out.print(s + ".");
12. }
13. }
14. }What is the result?
Go to Question: