看了好幾遍 理解明白了后 說一下我的經驗吧 要明確這個Set要實現的是什么 要仔細看前邊老師寫的案例功能說明 按照那個 思路就很清晰了 不能埋頭死寫代碼 個人拙見 大佬勿噴啊
2017-10-27
Null pointer access: The variable st can only be null at this location
2017-10-24
Exception in thread "main" java.lang.NullPointerException,這是啥意思啊
2017-10-24
List<Integer> list=new ArrayList<Integer>();
list.add(1);
1本來是基本類型,應該是虛擬機執行了自動裝箱的操作,把1變為包裝類型的
list.add(1);
1本來是基本類型,應該是虛擬機執行了自動裝箱的操作,把1變為包裝類型的
2017-10-24
區別介紹的很詳細 https://jingyan.baidu.com/article/8275fc869a070346a03cf6f4.html
2017-10-24