Your browser does not support JavaScript!

what will be the output if you execute this code?int x=1;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");} 

  • None of the above}
  • display 1234
  • display nothing
  • display 1111 Correct
  • display 1
Similar ITE-6104 questions