摘要:
1 public static void method6()2 {3 char x = 'X';4 int i = 0;5 System.out.println(true ? x : 0);//X6 System.out.println(false ? i : x);//887 } 阅读全文
posted @ 2014-02-14 10:10
一路向北中
阅读(158)
评论(0)
推荐(0)
摘要:
1 String s1 = "aa"; 2 String s2 = "aabb"; 3 String s3 = "aa"+"bb"; 4 5 String s4 = new String("aabb"); 6 String s5 = new String("aabb"); 7 8 String s6 = s1 + "bb"; 9 String s7 = s1 + s2;10 sop(s2==s3);//true11 sop(s2==s4);//false1 阅读全文
posted @ 2014-02-14 09:01
一路向北中
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号