Here you can find the source of multiply(final int[] numbers)
private static int multiply(final int[] numbers)
//package com.java2s; //License from project: Open Source License public class Main { private static int multiply(final int[] numbers) { int result = 1; for (int i = 0; i < numbers.length; i++) { result *= numbers[i];/*from w ww . j a v a 2 s . c o m*/ } return result; } }