結果 : how to implement abstraction in java