Skip to content
Sharp

Memory Management · interview question

Which runtime artifact best answers the question, "What objects are still retained and who is holding references to them?"?

Multiple choiceMediumchapter-14-curatedpremiummemory-managementheap-dump
Choose one answer
Answer and explanation

Correct answer

A. Heap dump

Why

A heap dump captures the live heap and reference graph. It helps you see which objects remain in memory and what paths are keeping them alive.

Test yourself on Memory Management

A free test with instant, explained results. No account needed.

Start free test
All Memory Management questions →