max() Returns the greater of two int values. Syntax Numeric max(Numeric b) b - a Numeric argument. Usage The result is the argument closer to the value of Integer.MAX_VALUE. If the argument has the same value as the object's value the result is that same value. See Also: Long.MAX_VALUE Related conceptsmin()round()