Java中List转数组,必须带个参数
摘要:
public static void main(String[] args) { List lst = new ArrayList(); lst.add("赵云 "); lst.add("张飞"); //X: String[] strA = (String[]) lst.toArray(); // List转... 阅读全文
posted @ 2016-04-23 01:04 talkwah 阅读(538) 评论(0) 推荐(0) 编辑