What is the output of the following Java code? int m = 1000; int k = 3000;…
PYQ DSSSB 2021
What is the output of the following Java code?
int m = 1000;
int k = 3000;
while (++m < --k);
System.out.println(m);- A.
Error
- B.
1000
- C.
2000
- D.
4000
Attempted by 989 students.
Sign up free to check your answer
Sign up freeLoading lesson…

