結果 : how to create a method with parameters in java