Pergunta de entrevista da empresa Morgan Stanley

can Java has memory leak ? if so give an example