結果 : can you have a function inside a function in java