LinkedList<String> llString=new LinkedList<String>(); String[] s=llString.toArray(); Myeclipse报错:Type mismatch: cannot convert from Object[] to String[] 于是我进行了强制类型转换,请看代码: LinkedList<String> llString=new LinkedList<String>(); String[] s=(String[]) llString.toArray(); ...
LinkedList<String> llStrings =newLinkedList<String>();for(inti=0;i<100;i++){ llStrings.a...