两种方式:如下
for(Enumeration enumobj = vv.elements(); enumobj.hasMoreElements();)
{
String[] tempc=(String[])enumobj.nextElement();
System.out.println("tempc Length"+tempc.length);
System.out.println(tempc[0] + " " + tempc[1] + " " + tempc[2] + " " + tempc[3] + " " + tempc[4]);
}
for(int c=1;c<vv.size();c++){
String[] tempc = (String[])vv.elementAt(c);
System.out.println("tempc Length"+tempc.length);
System.out.println(tempc[0] + " " + tempc[1] + " " + tempc[2] + " " + tempc[3] + " " + tempc[4]);
}