En el API esta especificado el funcionamiento....
http://java.sun.com/j2se/1.4.2/docs/...lang/Math.html Cita: Math.max(double a, double b)
Returns the greater of two double values.
Math.max(float a, float b)
Returns the greater of two float values.
Math.max(int a, int b)
Returns the greater of two int values.
Math.max(long a, long b)
Returns the greater of two long values.
Tomando en cuenta esto, vemos que el metodo max, solo te compara dos numeros, y no un arreglo o coleccion o algo semejante. la forma correcta de uso seria:
Math.max(29,100);
y regresara 100!
have funnnnnnn