Pergunta de entrevista da empresa Pattem Digital Technologies

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