The result of the postfix expression must be a variable of a numeric type,
or a compile-time error occurs.
The type of the postfix increment expression is the type of the variable.
The result of the postfix increment expression is not a variable, but a value.
A variable that is declared final cannot be incremented, because when an access of a final variable is used as an expression, the result is a value, not a variable. Thus, it cannot be used as the operand of a postfix increment operator.求人帮忙解释一下
后缀表达式结果必须是一个数值类型变量,否则编译错误
后缀++表达式必须是变量类型
它的结果是数值而非变量英语比较烂 实在没看懂
是不是说i++是个变量 却又说i++的结果是数值????
后缀表达式的结果要么是一个整型,或者编译时的错误。
后缀表达式的类型跟变量的类型一样
后缀表达式的结果不是一个变量,而是一个值
被声明为final的变量不能进行incremented,因为....不知道理解对不对,请楼下继续分析。