java求两个数中的大数时间:2023-03-08 21:21:52java求两个数中的大数 java中的max函数在Math中 应用如下: int a=34; int b=45; int ans=Math.max(34,45); 那么ans的值就是45.