Your question is Java Memory Management and GC. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Explain how memory management and garbage collection work in Java.
Focus on how objects are allocated, how the JVM decides what is collectible, and what garbage collection actually does at runtime. Keep the answer to Java SE and the HotSpot JVM, and explain the practical impact on latency and memory leaks.