public class Stack<T> extends Vector<T> // DON'T{ T pop() { ... } void push(T item) { ... } ...}
public class Stack<T>{ ... private ArrayList<T> elements;}