java.lang.Math.max(参数1,参数2)是一个静态的工具方法,主要用来比较两个相同类型参数的大小,支持的类型有double,float,int,long四种类型。
转载于:https://www.cnblogs.com/sgbe/p/11412579.html