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