@Override
    public Object pop() throws EmptyStackException {


        if (this.empty()) {
            throw new EmptyStackException();
        }

        Object pop = this.listStack.get(this.listStack.size() - 1);

        this.listStack.remove(this.listStack.size() - 1);

        return pop;

    }