---
title: "有意思的三目运算"
author: "wuhen86"
date: "2010-01-13T13:14:00Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2010-01-13T13:14:00Z"
id: 747035
url: "https://wuhen86.iteye.com/blog/747035"
---

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);  
     }  
 }