I always thought that && operator in Java is used for verifying whether both its boolean operands are true, and the & oper
&&
true
&
& is a bitwise operator plus used for checking both conditions because sometimes we need to evaluate both condition. But && logical operator go to 2nd condition when first condition give true.