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