結果 : how to avoid method overriding in java