結果 : stack push and pop implementation in java