結果 : can you have methods inside methods in java