public T pop()
{
   checkInitialization();
   if (isEmpty())
      throw new EmptyStackException();
   else
      return stack.remove(stack.size() - 1);
} // end pop
// Version 4.0
