Capgemini interview question

Explain Java's memory management. jhgu