Computer Science, asked by devilabdullah69, 7 months ago

What are binary operators? Write two binary operators of java.​

Answers

Answered by nehasakuja1977
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 Anonymous
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