The bitwise XOR operator is a binary operator that produces a 1 bit if exactly one of its operands is 1. Otherwise, it produces a 0 bit. It is denoted by the symbol ^. It can be applied to the integer type operands, i.e., byte, short, char, int, and long. The table given below shows the outcome of the XOR operation when applied to the operands opr1 and opr2:
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
- Download free practice test for CIW Master CIW Enterprise Developer exam.
- Pass SCBCD in first attampt.
- Get certified in first attempt download scdjws - SCDJWS simulation.
- Best exam simulation SUN scjp download free trial.
- Download free practice test for SUN SCJP 5/6 exam.
- Become SUN SCMAD certified.
- Become SUN SCWCD certified.
- Best exam simulation SUN 310-035 download free trial.
- Download free practice test for CX310-036 SCJP 1.4 Upgrade exam.
- Pass SUN CX310-055 - Java 5.0
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.