Ad
  • Default User Avatar

    I wish I could find external material to explain what's going on, but I'm struggling to find anything concrete. The operator is called a bit shift operator.

    According to Progamiz: "These operators are not generally used in Java" (referring to bitwise and bit shift operators)

    What I do know: in this case the operator "^=" will cancel out similar numbers, then will set the sum to the unique number like any other assignment operator.