結果 : java static factory method example