Java IntSummaryStatistics getMax()方法及示例
Java中IntSummaryStatistics类 的 getMax() 方法用于获取该IntSummaryStatistics中记录的最大值。
语法。
参数。此方法不接受任何值作为参数。
返回值。该方法返回该IntSummaryStatistics中的最大记录。
程序。
输出。
**参考资料: ** https://docs.oracle.com/javase/10/docs/api/java/util/IntSummaryStatistics.html#getMax()