PRO192_-_SP_2024_-_Block_5_-_FE_1921.webp
K

PRO192_-_SP_2024_-_Block_5_-_FE_1921.webp

Multiple Choices
Answer (Choose 1 answer)
After the following code fragment ran, what is the value of variable a?
String s;int a;
s = "Foolish boy.";
a = s.indexOf("fool");
A. -1
B. 0
C. 4
D. random value
E. 1

Thông tin

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

Share this media

Back
Bên trên Bottom