結果 : can we write a method inside a method in java