Domanda di colloquio di Morgan Stanley

can Java has memory leak ? if so give an example