Question: Java int x, y = 9; x = 10; if ((x-- != 9 || (x--) == 8) && (y++) < x) System.out.println(y); else System.out.println(x); -----
Java
int x, y = 9;
x = 10;
if ((x-- != 9 || (x--) == 8) && (y++) < x)
System.out.println(y);
else
System.out.println(x);
-----
I need help in understanding this code(
x-- ,, is it mean (10-1)
and (y++)
what is order to cheek the for loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
