結果 : function to find minimum of two numbers in java