Morgan Stanley Interview Question

can Java has memory leak ? if so give an example