java stack出栈顺序错误问题 当你发现无论怎么调试 出栈的顺序总是有误,那你很有可能写了这种代码,不要问我为什么知道!!! for(int i=0;i<stack1.size();i++) { stack1.pop(); }