Which has more priority: || or && or ==
First ==
, then &&
, then ||
.
Your expression will be evaluated as y[i] = (((z[i] == a) && b) || c)
.
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html
The priority list:
- ==
- &&
- ||