当前位置:主页 > 软件编程 > JAVA代码 >
时间:2021-11-17 13:18:02 | 栏目:JAVA代码 | 点击:次
java中的max函数在Math中
应用如下:
int a=34;
int b=45;
int ans=Math.max(34,45);
那么ans的值就是45.