What do you mean by Binary Operators in Java? Briefly explain.
Answers
Answered by
4
Java defines several bitwise operators, which can be applied to the integer types, long, int, short, char, and byte. ... Binary OR Operator copies a bit if it exists in either operand. (A | B) will give 61 which is 0011 1101. ^ (bitwise XOR) Binary XOR Operator copies the bit if it is set in one operand but not both.
Answered by
1
Answer:
Java defines several bitwise operators, which can be applied to the integer types, long, int, short, char, and byte. ... Binary OR Operator copies a bit if it exists in either operand. (A | B) will give 61 which is 0011 1101. ^ (bitwise XOR) Binary XOR Operator copies the bit if it is set in one operand but not both.
Similar questions