`
wuhen86
  • 浏览: 13413 次
  • 性别: Icon_minigender_1
  • 来自: 郑州
最近访客 更多访客>>
社区版块
存档分类
最新评论

有意思的三目运算

 
阅读更多
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);
     }
 }
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics