5
answers
0
watching
265
views
30 Jan 2018
14. What value is returned by the following method if the input array is {2,3,4, 1, 2, 1} public static int mystery (int[] array) { int foo = 1; for (int i = 0; i < array.length; i++) { foo = foo * array[i]; return foo; (A) 48 (B) 2 (C) 24 (D) 16 (E) 4
14. What value is returned by the following method if the input array is {2,3,4, 1, 2, 1} public static int mystery (int[] array) { int foo = 1; for (int i = 0; i < array.length; i++) { foo = foo * array[i]; return foo; (A) 48 (B) 2 (C) 24 (D) 16 (E) 4
16 Feb 2023
gloryolalere280Lv10
20 Nov 2022
Already have an account? Log in
miopicdreamLv3
21 Jul 2022
Already have an account? Log in
madhusaranithaaLv10
23 Oct 2021
Already have an account? Log in
Beverley SmithLv2
2 Feb 2018
Already have an account? Log in