0

what will be the output of the following code?

int m=2; int n = 15; for(int i=1;i<5;i++) m++; --n; system.out.println("m="+m); system.out.println("n="+n);

21st May 2019, 12:17 PM
Aman Kumar
Aman Kumar - avatar
1 Answer
0
Try to check in playground what is the output of the code. https://code.sololearn.com/cS0JI1z23z9G/#java
21st May 2019, 12:37 PM
Prokopios Poulimenos
Prokopios Poulimenos - avatar