結果 : how to implement abstract data type in java