結果 : stack of characters in java