AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
what will be the output if you...
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
What will be the value of x after executing this code for(int x=0; x<=11; x++) {} is run?
Which of the following is true about constructor?
What is the result if we execute this: “a”.equals(“a”);?
Which of the following scenarios where an exception may occur?
Which of the following is a valid editor for java source code?
What will be the value of x after you execute this statement int z=0; for(int x=0; x<10; x++) for(in...