ADP Interview Question

how did JVM manages memory