A
Q. What is the output of the following code?
Code:
int x = 0;
do {
System.out.println(x);
x++;
} while (x < 5);
do {
System.out.println(x);
x++;
} while (x < 5);
- Correct Answer - Option(A)
- Views: 10
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.