Your browser does not support JavaScript!

what will be the output if you execute this code? int x=2; switch(x){ case 1: System.out.print(“1”); case 2: System.out.print(“1”); case 3: System.out.print(“1”); default: System.out.print(“1”); }

  • display 111 Correct
Similar ITE-6104 questions