PRO192_-_SP_2025_-_FE_3648.webp
Y

PRO192_-_SP_2025_-_FE_3648.webp

  • Media owner Yuji99
  • Ngày thêm
Kizspy Question: 36
(Choose 1 answer)
Given the following code snippet:
float] arr new float[100]; //Line 1
arr[0]=3.4;
//Line 2
Choose the correct statement.
A. 3.4 is a double type by default so we need to explicitly cast it to float
B. 3.4 is a float type by default so we don't need to explicitly cast it to float
C. There is no problem with these code lines
D. Line 1 will throw the indexOutOfBound exception

Thông tin

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

Share this media

Back
Bên trên Bottom