Conditionals in Java
Boolean expressions A boolean expression is an expression that evaluates either true or false. A boolean expression may use equality operators (==, !=), relational operators (>, >=, <, <=) or logical operators (!, &&, ||). Equality and relational operators compare …