Question d’entretien chez OKG

What is a hashmap? Why Java still have memory leak?