0
int a=20,b=15; if(a>10) { a++; b++; } System.out.println(a+” ”+b);
please fast
2 Respuestas
+ 2
Pratyaksh Raj Singh You should revise your conditional statement....go for it....
BY the way.....it goes like this....
If(20>10) \\which is true...so it will execute the block...
Then,its a++ and b++ which is post fix....
Then to print..
System.out.println(21+" "+16);
So the result is: 21 16