java tutorial - Java Math.min() Method - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - Java numbers min - Java examples - Java programs
Description
Method Math.min () - returns the minimum value of two arguments. The argument can be int, float, long, double.
Syntax
The method has the following options:
Options
Detailed information about the parameters:
- The method takes any primitive data type as a parameter.
Return value
- In Java, Math.min () returns the smaller of the two arguments.