public interface Stack { public boolean isEmpty(); public void push(Object x); public Object pop(); public Object top(); }