Put yoursels in the compiler's shoes: is
Stack<String>
your otn Stack
or java.util.Stack
? Give a different name to your class.