[問題] 使用Vector遇到 warning: unchecked
主要程式碼:
Vector alist=new Vector();
alist.add(strIn.substring(0,i));
訊息:
warning: [unchecked] unchecked call to add(E) as a
member of the raw type java.util.Vector
alist.add(strIn.substring(0,i));
請問這是為什麼?
--
我認識的人愈多,我就愈喜歡狗
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.139.160.210
討論串 (同標題文章)
java 近期熱門文章
PTT數位生活區 即時熱門文章