Flow Control
© examsiri.com
Question : 6 of 14
Marks:
+1,
-0
Given:
What is the result?
1. public static void main(String[] args) {
2.   Integer i = new Integer(1) + new Integer(2);
3.   switch(i) {
4.    case 3: System.out.println("three"); break;
5.    default: System.out.println("other"); break;
6.   }
7. }What is the result?
Go to Question: