結果 : stack in java without collections