結果 : can we create a function inside a function in java