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?do{System.out.println("Hello World!");}while(false);
None of the above
Do nothing
The code will not run because of syntax error
print "Hello World"
Correct
print "Hello World" infinitely
Similar ITE-6104 questions
What will be the value of x after you execute this statementint z=0; for(int x=0; x<10; x++) for(int...
Which statement will check if x is less than y?
what will be the output if you execute this code?int x=1;switch(x){case 1: System.out...
What will be the output if you execute this code?do{System.out.println("Hello World!");}while(true);...
Which statement will check if x is equal to y?
What will be the value of x after executing this codefor(int x=0; x<=10; x++) {} is run?