36. What statement about the ^ operator is correct?
A. If one of the operands of ^ is true, then the result is always true.
B. There is a conditional form of the operator, denoted as ^^.
C. If both operands of ^ are true, the result is true.
D. The ^ operator can only be applied to boolean values.
Option D is said to be correct: Finally, Option D is correct as the ^ is only applied to boolean values in
Java.
But there is a bitwise ^ operator in Java too, so it can be applied to both boolean and numerical values.