Answer Posted / Paritosh Verma
Bitwise operators in Groovy operate on the binary representation of integers and can be used to perform bit-level manipulation. Some common examples include & (bitwise AND), | (bitwise OR), ^ (bitwise XOR), ~ (bitwise NOT), << (left shift), >> (right shift), and >>> (unsigned right shift). For example: int a = 10, b = 5; int result = a & b; // result is 2
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category