Misconception: In Java, students struggle with equal signs because they mistakenly see them as a sign of symmetry.

  • This is a misconception that typically comes from math courses.
  • Students need to relearn that the double equals in java, the equality operator, is checking for the same content, not a parallel or balanced equation.
    • Students also need to relearn that single equals, the assignment operator, which assigns the value on the right to the operand on the left (and is also not a sign of symmetry).

More about this tip

External Source

Interview with Steve Vegdahl