Stack can`t pop off (see the code). Java with problem?

Printable View