看板 [ java ]
討論串[問題] 動態宣告?
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者adrianshum (Alien)時間16年前 (2010/03/01 00:24), 編輯資訊
0
0
0
內容預覽:
長話短說. List<List<String>> docs = new ArrayList<List<String>>();. docs.add(new ArrayList<String>());. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 218.250.0.44.

推噓0(0推 0噓 2→)留言2則,0人參與, 最新作者yangpika (狗狗洋ˇ洋)時間16年前 (2010/02/28 12:45), 編輯資訊
0
0
0
內容預覽:
import java.util.ArrayList;. public class ddd {. class doc{. public ArrayList<String> doc =new ArrayList<String>();. }. public static void main(String

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者AmosYang (LetMeGoogleThatForYou)時間16年前 (2010/02/28 12:28), 編輯資訊
0
0
1
內容預覽:
CHAPTER 10. Arrays. http://java.sun.com/docs/books/jls/third_edition/html/arrays.html. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 65.87.177.87.

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者johnny1713 (蛤)時間16年前 (2010/02/28 12:20), 編輯資訊
0
0
0
內容預覽:
如果想要一次宣告很多Arraylist. ArrayList<String> doc_1 = new ArrayList<String>();. ArrayList<String> doc_2 = new ArrayList<String>();. ArrayList<String> doc_3 =
(還有16個字)
首頁
上一頁
1
下一頁
尾頁