Given:
25. int x = 12;
26. while (x < 10) {
27. x–;
28. }
29. System.out.print(x);
What is the result?
A.
10
B.
0
C.
12
D.
Line 29 will never be reached.
Given:
25. int x = 12;
26. while (x < 10) {
27. x–;
28. }
29. System.out.print(x);
What is the result?
Given:
25. int x = 12;
26. while (x < 10) {
27. x–;
28. }
29. System.out.print(x);
What is the result?
A.
10
B.
0
C.
12
D.
Line 29 will never be reached.