About
Content
Stop reading
1. What is the difference between a strong reference and a weak reference in Java?
2. What is the purpose of the `finalize()` method in Java?
3. What is the difference between a stack overflow and a heap overflow?
4. What is the role of the Java Virtual Machine (JVM) in memory management?
5. What are the different types of garbage collection algorithms used in Java?
6. What is the advantage of using a generational garbage collector?
7. What are the different ways to improve memory performance in Java programs?
8. What is the difference between a soft reference and a phantom reference in Java?
9. What is the purpose of the `-XX:PermSize` and `-XX:MaxPermSize` JVM options?
10. What is the difference between a memory leak and a memory churn?