結果 : need of interface in java