結果 : can we declare a method inside main method in java