The answers are 2 and 3. Number 4 doesn't have a valid operator. AS far as I know &| doesn't exist in
java. You are right, the short circuit operator can only be used with boolean values. The == operator produces a boolean result so the short circuit operator | | works fine in option 3.