Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vbcr
on July 27, 2017
|
parent
|
context
|
favorite
| on:
In Java 3 = 12
and easily mitigated by the right use of parentheses.
System.out.println((1 + 2) + " = " + (1 + 2));
sayham28
on July 27, 2017
[–]
Right but where is fun in that?? Lol. By the way, I think I should add this part on the post to show the fix, especially for the newcomers in Java world.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
System.out.println((1 + 2) + " = " + (1 + 2));