ITeye博客

有意思的三目运算

wuhen86 · 2010-01-13 13:14 · Markdown

public class BoxingTest {
     public static void main(String[] args) {
         System.out.println(true ? null : 0);  
         System.out.println(true ? (Integer) null : new Integer(0));
         System.out.println(true ? (Integer) null : 0);
     }
 }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。