結果 : java factory method in interface