Java puzzlers :traps, pitfalls, and corner cases (Java解惑)
发布日期:2006-12-29 浏览次
[内容简介]
本书深入研究Java编程语言及其核心类为的细微之处,特写95个有关Java或其他类库的陷阱和缺陷的谜题,其中大多数谜题都采用短程序的形式给出。在每个谜题之后都有详细的解惑方案,这些方案在给出那些实际行为与表面上迥异的程序行为的简单解释的同时,更向读者展示了如何一劳永逸地避免底层的陷阱与缺陷。本书附录部分列出了陷阱及缺陷的目录,可供读者进一学习参考。
本书以轻松诙谐的语言,寓教于乐的方式,由浅入深、总结归纳Java编程语言的知识点,适合具有Java知识的学习者和有编程经验的Java程序员阅读。
[目次]
1 introduction
2 expressive puzzlers
puzzle 1:oddity
puzzle 2:time for a change
puzzle 3:long division
puzzle 4:it s elementary
puzzle 5:the joy of hex
puzzle 6:multicast
puzzle 7:swap meat
puzzle 8:dos equis
puzzle 9:tweedildum
puzzle 10:tweedledee
3 przzlers with character
puzzle 11:the last laugh
puzzle 12:abc
puzzle 13:animal farm
puzzle 14:escape rout
puzzle 15:hello whirled
puzzle 16:line printer
puzzle 17:huh?
puzzle 18:string cheese
puzzle 19:classy fire
puzzle 20:what s my class?
puzzle 21:what s my class,take2
puzzle 22:dupe of url
puzzle 23:no pain,no gain
4 loopy puzzlers
puzzle 24:a big delight in every byte
puzzle 25:inclement increment
puzzle 26:in the loop
puzzle 27:shifty i s
puzzle 28:looper
puzzle 29:bride of loper
puzzle 30:son of loper
puzzle 31:ghost of looper
puzzle 32:curse of looper
puzzle 33:looer meets the wolfman
puzzle 34:down for the count
puzzle 35:minute by minute
5 exceptonal puzzlers
6 classy puzzlers
7 library puzzlers
8 classier puzzlers
9 more library puzzlers
10 advanced puzzlers
a catalog of traps and pitfalls
b notes on the illusions
refereces
index
【关闭】