01: package sample.vector; 02: 03: public class Sample2 extends java.util.Vector { 04: public Object add(Object[] args) { 05: super .addElement(args[0]); 06: return null; 07: } 08: 09: public Object at(Object[] args) { 10: int i = ((Integer) args[0]).intValue(); 11: return super.elementAt(i); 12: } 13: }