Here you can find the source of max(double no1, double no2, double no3)
public static double max(double no1, double no2, double no3)
//package com.java2s; //License from project: Apache License public class Main { public static double max(double no1, double no2, double no3) { return Math.max(Math.max(no1, no2), no3); }// w w w . j ava 2 s . c om public static Integer max(int no1, int no2, int no3, int no4) { return Math.max(Math.max(Math.max(no1, no2), no3), no4); } }