Memory Leak in Java? Does 'static' cause it?

Memory Leak in Java? Does 'static' cause it?

Does 'static' cause Memory Leak in Java?What's memory leak? In simple terms, it's unused but referenced (somehow because the programmer probably unintentionally forgot to remove the references once the use of the object was over) part of the memory.

Close