PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
Mai Linh 2001

PRO192_-_SU_2023_-_Block_5_-_RE_753.webp

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


Thông tin

Category
PRO192
Thêm bởi
Mai Linh 2001
Ngày thêm
Lượt xem
1,777
Lượt bình luận
21
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
File size
48.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom