看是矛盾,其實不矛盾的現(xiàn)象
if(superID!=null)
{
System.out.println("superID="+superID);
}
輸出為:superID=null
當(dāng)時,我很迷茫。是不是Eclipse和我開的玩笑,明顯自相矛盾嗎?不過仔細一想,恍然大悟。你想明白了?
理由:String superID="null";
posted on 2007-02-27 08:00 我為J狂 閱讀(904) 評論(9) 編輯 收藏 所屬分類: Java算法