java what does math.max do code example Example: math maximum java Math.max(a, b); // a & b = int, double, float, or long