結果 : stack implementation in java without using collections