VECTOR一问# Java - 爪哇娇娃
m*o
1 楼
import java.util.*;
public class test {
public static void main(String args[]){
double S=100.0;
Vector> Stree = new Vector>();
Vector Svec = new Vector();
Svec.add(S);
Stree.add(Svec);
Svec.add(S+1);
Stree.add(Svec);
System.out.println("After loop Stree 0 is "+Stree.get(0));
System.out.println("After loop Stree 1 is "+Stree.get(1));
}
}
public class test {
public static void main(String args[]){
double S=100.0;
Vector
Vector
Svec.add(S);
Stree.add(Svec);
Svec.add(S+1);
Stree.add(Svec);
System.out.println("After loop Stree 0 is "+Stree.get(0));
System.out.println("After loop Stree 1 is "+Stree.get(1));
}
}