結果 : java stack pop until empty