Monday, 25 April 2016
What is ^ operator in java ?
Operator
^
is just an
XOR
(mandatory
OR
condition) operation.
Example
0 ^ 0
==
0
1 ^ 0
==
1
0 ^ 1
==
1
1 ^ 1
==
0
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: only a member of this blog may post a comment.