Book Notes-- Java Puzzlers
ffej
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java 解惑(英文版)
【原 书 名】 Java Puzzlers:Traps,Pitfalls,and Corner Cases 【原出版社】 Addison-Wesley ...2007-08-11 12:40:00 · 262 阅读 · 0 评论 -
Expressive Puzzlers (1)
: Puzzle 1:当求余运算(remainder operation)符 % 返回一个非零余数时,余数的符号位和左边操作数的符号位相同。例如 System.out.println((-53)%9); // -8 System.out.println(53%(-9)); //8 System.out.println((-53)%(-9)); //-8P...2007-08-11 13:46:00 · 153 阅读 · 0 评论 -
Expressive Puzzlers (2)
Puzzle 8:DosEquiz.javapublic class DosEquis{ public static void main(String[] args) { char x = 'X'; int i = 89; final int j = 89; final int k = 6666666; Sys...2007-08-23 17:56:00 · 128 阅读 · 0 评论 -
Puzzlers with Character (1)
Puzzle 11:LastLaugh.javapublic class LastLaugh{ public static void main(String args[]) { System.out.print("H" + "a"); //Ha System.out.println('H' + 'a'); //169 }}但 + 和char型同时...2007-08-26 22:53:00 · 122 阅读 · 0 评论
分享