結果 : how to traverse through a stack in java