Which of the following are true. Select all correct answers.
1. && operator is used for short-circuited logical AND.
2. ~ operator is the bit-wise XOR operator.
3. | operator is used to perform bitwise OR and also short-circuited logical OR.
4. The unsigned right shift operator in
Java is >>.
My answer is 1 and 3. But tests answer is 1. Can anybody explain why 3 is not correct?