Here you can find the source of max(int a, int b)
Parameter | Description |
---|---|
a | int |
b | int |
public static final int max(int a, int b)
//package com.java2s; //License from project: Open Source License public class Main { /**// w ww . j a v a 2 s.c om * max between a and b * @param a int * @param b int * @return int */ public static final int max(int a, int b) { return a > b ? a : b; } }