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 |
- Best exam simulation CIW master-ciw-enterprise-developer download free trial.
- Get certified in first attempt download scbcd - SCBCD simulation.
- Best exam simulation SUN scdjws download free trial.
- Download practice question and study guide for scjp for exam.
- Download practice question and study guide for scjp-5-0 for exam.
- Pass SUN scmad - SCMAD
- Download practice question and study guide for scwcd for exam.
- Best exam simulation SUN 310-035 download free trial.
- Get certified in first attempt download CX310-036 - SCJP 1.4 Upgrade simulation.
- Get certified in first attempt download CX310-055 - Java 5.0 simulation.
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.
