Operators

Java operators: how operand types choose what a symbol does, identity versus equality, short-circuiting, precedence and increments.

  • 9 cards
  • 5 questions
  • About 9 min
  • Beginner to Intermediate
Share

Java's operators, the symbols such as +, /, == and &&. They are the part of the language readers assume they already know from somewhere else, which is exactly why + and == are where the first real surprise lives. It covers how the operand types choose an operator's job, string joining and whole-number division, = against == against equals, short-circuiting, precedence, and i++ against ++i. It leaves out the bitwise and shift operators.

Contents

9 cardsnot started