public class Demo {
public static void main(String[] args) {
Vector vct = new Vector();
vct.add("aaa");
vct.add("bbb");
vct.add("ccc");
vct.addElement("ddd");
vct.addElement("eee");
for(int i = 0 ;i < vct.length ; i++){
System.out.println(vct.elementAt(i));
}
}
}
怎么编译不出来
|
|