0
1. public class Test{2. public static void main(String [] args){3. int x = 0;4. // insert code here5. do{ } while(x++ < y);6. System.out.println(x);7. }8. }Which option, inserted at line 4, produces the output 12?
- Aint y = x;
- Bint y = 10;
- Cint y = 11;
- Dint y = 12;
- ENone of the above will allow compilation to succeed.
Correct answer: C