Java程序  |  14行  |  287 B

package sample.vector;

public class Sample2 extends java.util.Vector {
    public Object add(Object[] args) {
	super.addElement(args[0]);
	return null;
    }

    public Object at(Object[] args) {
	int i = ((Integer)args[0]).intValue();
	return super.elementAt(i);
    }
}