結果 : can we create an object inside a method in java