JAVA 연산자 우선순위

  1. (), [], .
  2. !, ~, ++, --, +, -, instanceof
  3. new, (type name)
  4. *, /, %
  5. +, -
  6. <<, >>< >>>
  7. <, <=, >, >=
  8. ==, !=
  9. &, ^, |
  10. &&, ||
  11. ?:
  12. =, +=, -=, *=, /=, %/, >>=, >>>=, <<=, &=, ^=, |=


+ Recent posts