結果 : non primitive type casting in java with example