String Concatenation Operator


  • If either operand is a String, the + operator concatenates the operands.
  • If both operands are numeric, the + operator adds the operands. Increment/Decrement Operators (Objective 7.6)
  • Prefix operators (++ and --) run before the value is used in the expression.
  • Postfix operators (++ and --) run after the value is used in the expression.
  • In any expression, both operands are fully evaluated before the operator is applied.
  • Variables marked final cannot be incremented or decremented.