PRO192_-_C1_-_FE_-_SU_2023_391.webp
H

PRO192_-_C1_-_FE_-_SU_2023_391.webp

(Choose 1 answer)
When does the string created on line 2 become eligible for garbage collection?
1. String s = "aaa";
2. String t = new String(s);
3. t += "zzz":
4. t = t.substring(0);
5. t = null;
A. After line 3
B. After line 4
C. After line 5
D. The string created on line 2 does not become eligible for garbage collection in this code.
Edt 18

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_FE_-_SU_2023_391.webp
File size
58.6 KB
Dimensions
1713px x 893px

Share this media

Back
Bên trên Bottom