// Thanks to precedence, instead of: if ( ( ( 0 <= a ) && ( a <= 100 ) ) || ( ( 900 <= b ) && ( b <= 1000 ) ) ) // you can write: if ( 0 <= a && a <= 100 || 900 <= b && b <= 1000 ) // however, you cannot write: a = ( b >>> 8 ) + 1; // as: a = b >>> 8 + 1; // because shift has lower priority than +. That terse form above is interpreted as: a = b >>> ( 8 + 1 );