PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy Question: 34
(Choose 1 answer)
RUBBERZ..JM.COM
What is the output of the following code snippet:
int i=0;
int list={1,2,3,4,5};
do{
list[i]+=++i;
while(i<4);
System.out.println(list[0]+ list[list.length]);
A. The program will raise an exception.
B. 5
C. 1
D. 6

Thông tin

Category
PRO192
Thêm bởi
Mahito2001
Ngày thêm
Lượt xem
2,754
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom