0
What will be the output of the following Java code?
public class DoWhileExample {
public static void main(String[] args) {
int x = 10;
do {
System.out.println("x = " + x);
x++;
} while (x < 13);
}
}- Ax = 10 x = 11 x = 12
- Bx = 10
- Cx = 10 x = 11
- DNo output
Correct answer: A