Q50_20231209111736.jpg
nhunghoang

Q50_20231209111736.jpg

50 Answer
(Choose 1 answer)
What does method M1 do?
public static int M1(int[] A)
int x = 0;
{ foreach (int e in A){}x += e return x;}
A. Method M1 returns the summation of the integer elements in array A.
B. Method M1 prints all elements in A
C. We cannot use foreach statement to iterate over the elements in a one-dimensional array.
D. Method M1 finds the maximum number in the array A.

Elt
Chưa có bình luận nào.

Thông tin

Category
PRN292c
Thêm bởi
nhunghoang
Ngày thêm
Lượt xem
26
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
Q50_20231209111736.webp
File size
68.2 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom