import java.util.Vector;

 public class VectorTesting {
public static void main(String[] args) {
Vector<Object> _vector=new Vector<Object>();
Integer intObj=new Integer(1);
_vector.addElement(intObj);
String strObj="1";
_vector.addElement(strObj);
Boolean boolObj=false;
_vector.addElement(boolObj);
System.out.println(_vector.size()); Boolean newObj=false;
_vector.set(0,newObj);
_vector.remove(newObj);
System.out.println(_vector.get(0));
}
}
04-14 02:22