I have
List<Double> arg = new ArrayList<>(); consisting of N elements, is it possible to obtain the product of these N elements without using for loop .
On account of the amount figured out:
arg1.stream().mapToDouble(dbl -> dbl).sum() but with the product is not glued.