PRO192_FE_SP23_311.webp
Soram

PRO192_FE_SP23_311.webp

  • Media owner Soram
  • Ngày thêm
Bài viết gốc: Chủ đề 'PRO192 FE SP23'
(Choose 1 answer)
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;
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.

Thông tin

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

Share this media

Back
Bên trên Bottom