Java Web Programming: Servlets, MVC, and Struts

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Given: 11. int i = 1,j = 10; 12. do { 13. if(i>j) { 14. break; 15. } 16. j--; 17. } while (++i <5); 18. System.out.println(“i =” +i+” and j = “+j); What is the result?

  1. i = 6 and j = 5
  2. i = 5 and j = 5
  3. i = 5 and j = 6
  4. i = 6 and j = 4
Change Mode