Here you can find the source of max(int a, int b, int c, int d)
public static int max(int a, int b, int c, int d)
//package com.java2s; //License from project: Apache License public class Main { public static int max(int a, int b, int c, int d) { return max(max(a, b, c), d); }//w ww. j av a 2 s. c o m public static int max(int a, int b, int c) { return max(max(a, b), c); } public static int max(int a, int b) { return Math.max(a, b); } }