Java Reference
In-Depth Information
&00001111
000101010
OR- If either of the operand is one it produces 1 and It is represented by “|“.
For example
00101010
|00001111
00101111
XOR- If either of the bit operand is 1, then result is also one otherwise its 0 and it is repres-
ented by “^”.
For example
00101010
^00001111
00100101
Left shift- It shifts or moves all of the bits in the particular given value to the left side num-
ber of times that is been declared and it is represented by ” ”.
Right shift- It shifts or moves all of the bits in the particular given value to the right side
number of times that is been declared and it is represented by ” ”.
Relational operators
Equal to- This relation operator shows that the values are equal to each other and it is rep-
resented by “==”.
Not equal to- This relation operator shows that the values are not equal to each other and it
is represented by “!=”.
Greater than- This relation operator shows that one value is greater when compared to oth-
er and it is represented by “>”.
Less than- This relation operator shows that one value is less when compared to other and
it is represented by “<”.
Greater than or equal to- This relation operator shows that one value is greater or equal
but not less when compared to other and it is represented by “>=”.
Search WWH ::




Custom Search