PRO192_-_SU_2024_-_FE_2329.webp
Q

PRO192_-_SU_2024_-_FE_2329.webp

Kizspy | Question: 41 (Choose 1 answer)
What is the output of the following code snippet?ArrayList<Integer> nums = new ArrayList();
nums.add(0,2);
nums.add(1,3);
nums.add(2,4);
Iterator it = nums.iterator();
nums.add(3,5);
while(it.hasNext()){System.out.print(it.next());}while(it!=null);
A. 2345
B. 0123
C. 02132435
D. 0325

Thông tin

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

Share this media

Back
Bên trên Bottom