Precedence and Associativity of operators Java

前端 未结 0 1268
-上瘾入骨i
-上瘾入骨i 2021-01-12 07:37

Please, could someone help me to figure out why equality has higher priority before postfix here?

int x = 6; System.out.println(7 == x++);

Output: false

相关标签:
回答
  • 消灭零回复
提交回复
热议问题