結果 : declare method inside method java