Your browser does not support JavaScript!

What will be the output if you execute this code?do{System.out.println("Hello World!");}while(true); 

  • None of the above
  • The code will not run because of syntax error
  • Do nothing
  • print "Hello World" infinitely Correct
  • print "Hello World"
Similar ITE-6104 questions