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