看板
[ java ]
討論串[問題] 請問一個Collection的問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
回一下XD. 改成:. while (it.hasNext()) {. Object temp = it.next();. if (temp instanceof String) {. String str = (String) temp;. System.out.println(str);. }
(還有15個字)
內容預覽:
import java.util.*;. public class ArrayListDemo {. public static void main(String[] args) {. List lists = new LinkedList();. lists.add("abc");. lists.
(還有787個字)
首頁
上一頁
1
下一頁
尾頁