public class U6_L5_Activity_Two { public static int product(int[] arr) { int p = 1; for (int k : arr) { p *= k; } return p; } }