What are binary operators? Write two binary operators of java.
Answers
Answered by
4
Answer:
Java Bitwise Operators
Operator Description
| (bitwise or) Binary OR Operator copies a bit if it exists in either operand.
^ (bitwise XOR) Binary XOR Operator copies the bit if it is set in one operand but not both.
~ (bitwise compliment) Binary Ones Complement Operator is unary and has the effect of 'flipping' bits
Answered by
4
Answer:
Binary operators are those operators that work with two operands. For example, a common binary expression would be a + b—the addition operator (+) surrounded by two operands. The binary operators are further subdivided into arithmetic, relational, logical, and assignment operators
Here's the process to OR two binary numbers together: line up each number so the bits match up, then compare each of their bits that share a position. For each bit comparison, if either or both bits are 1, the value of the result at that bit-position is 1.
PLZ MARK AS BRAINLIEST ,FOLLOW ME AND THX FOR THE SUPERB QUESTION
Similar questions
Math,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Social Sciences,
7 months ago
History,
7 months ago
Political Science,
11 months ago
English,
11 months ago