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 |
- Click here to get free master-ciw-enterprise-developer Master CIW Enterprise Developer exam practice questions.
- Become SUN SCBCD certified.
- Pass SCDJWS in first attampt.
- Best exam simulation SUN scjp download free trial.
- Click here to download scjp-5-0 test study guide and practice question.
- Click here to download scmad test study guide and practice question.
- Download practice question and study guide for scwcd for exam.
- Download free practice test for 310-035 SCJP 2 exam.
- Download free practice test for SUN SCJP 1.4 Upgrade exam.
- Best exam simulation SUN CX310-055 download free trial.