Запитання 8
How does the two-pointer technique help in memory compaction during garbage collection?
Варіанти відповідей
One pointer scans live objects, while another tracks the next free space to relocate these objects
Both pointers delete dead objects simultaneously
Pointers generate random addresses in the memory heap
Pointers analyze memory usage statistics without moving objects