class java.util.Stack boolean isEmpty(); void push(E x); // puts element on the stack E pop(); // pops element off stack and returns it E peek(); // returns element on top of stack without removing it