Why does post-increment work on wrapper classes
It’s perfectly safe to use across platforms. The behavior is specified in §15.4.2 of the Java Language Specification (emphasis added): The result of the postfix expression must be a variable of a type that is convertible (§5.1.8) to a numeric type, or a compile-time error occurs. The type of the postfix increment expression is the … Read more