java中的max函数在Math中
应用如下:
int a=34;
int b=45;
int ans=Math.max(34,45);
那么ans的值就是45.
java求两个数中的大数
原文:http://www.cnblogs.com/Renyi-Fan/p/7643799.html