<<< Logical (Boolean) Operators | Index | Numeric Ranges in Java, cont. >>> |
Consider:
int value = 7; if ( 1 < value < 10 ) { System.out.println( "The value " + value + " is greater than 1 and less than 10" ); }
<<< Logical (Boolean) Operators | Index | Numeric Ranges in Java, cont. >>> |