HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by democracy | Hacker News Reader
Full thread
democracy
·
JAVA
for (int i:new int[]{1,2,3,4}) System.out.print(i%2==0?i:"");
View on HN
lfborjas
·
hehe, clever! although we are building a new list in the other languages, we're never using it, so this is just as good in the immediate context.
Reply on news.ycombinator.com