Re:In Java 3 = 12
by ramblerman on Wednesday November 15, 2017 @03:05AM
(#15702198)
1 + 2 + "=" + (1 + 2)
[ Parent
| on HN ]
Or as one might write in real life:
(1 + 2) + "=" + (1 + 2)
A few braces here and there are a very practical substitute to wasting brain cycle about subtleties in operator precedence and associativity.