[問題] 使用Vector遇到 warning: unchecked

看板java作者 (antitheist)時間19年前 (2006/10/31 09:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
主要程式碼: 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
文章代碼(AID): #15Hg2ZlT (java)
文章代碼(AID): #15Hg2ZlT (java)