Flow Control

© examsiri.com
Question : 10 of 14
 
Marks: +1, -0
Given:
1. class Crivitch {
2.   public static void main(String [] args) {
3.    int x = 0;
4.    /*insert code here*/
5.    do { } while (x++ < y);
6.    System.out.println(x);
7.   }
8. }

Which, inserted at line 4, produces the output 12?
Go to Question: