重磅!關於爲什麼成員(內部)類不能擁有靜態字段,方法的問題。

搜索了很多資料,最後從stackOverflow看到了比較靠譜的解釋: "suppose there are two instances of outer class & they both have instantiated inner class.Now if inner class has one static member then it will keep only one copy o
相關文章
相關標籤/搜索