String 小知識點

     public static void main(String[] args) {
        Object str1 = null;
        String str2 = null;
        str2=str1+"";  不報錯 static

        str2 =str1.toString() 報錯 
    }
    void

相關文章
相關標籤/搜索