1. Java 8 – Find sum and average of an Arrays · sum = Arrays.stream(array).sum(); · System.out.println( "Sum is = " + sum); · average = Arrays.
確定! 回上一頁