Multiple choice Which of the following symbols is used for representing the XOR operator in Java? ~ & ^ Reveal answer Fill a bubble to check yourself D Correct answer Explanation The ^ operator is used for representing the XOR operator in Java.