Pregunta de entrevista de Pattem Digital Technologies

What is a memory leak and how does Java handle it?