But It Works On My Machine…

2008年06月25日 21:42 • 查看 32 次 • 打印本文

What happens when we run main()in the code snippet below? Of course, the erudite, tech-savvy Java people can answer that in a heartbeat.
In Effective Java, 2nd ed., Joshua Bloch says in his machine such a program never stops running. Not that I have a self-esteem problem or whatever, but when it comes to Java, if I have to choose whether to trust Joshua Bloch or me, I choose the former. Sorry, me.

查看原文 »

评论

发表评论