Are Memory Leaks Possible in Java?
<p>I just had an interview, and I was asked if it was possible to have a memory leak in Java. I didn't know the answer. So I would like to know:</p>

<ul>
<li>How would it be possible?</li>
<li>What would be an example of it? </li>
<li>Is it still possible even when Java uses Garbage Collection?</li>
</ul>