How many times will the following code print "Hello World"?
3: for(int i=0; i<10 ; ) { 4: i = i++; 5: System.out.println("Hello World"); 6: }
F.
The optional update statement of the for loop is missing.
The expression (i = i++;) inside the loop increments i but then assigns i the old value. i stays in value 0 for ever.
The loop will repeat infinitely.