Tag

WeakHashMap

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Feb 7, 2021 · Fundamentals

Common Causes of Java Memory Leaks and How to Fix Them

This article explains the typical sources of Java OutOfMemoryError—including static collections, unclosed connections, improper variable scopes, inner‑class references, hash value changes, cache misuse, and lingering listeners—and provides code examples and solutions to prevent memory leaks.

Best PracticesJavaMemory Leak
0 likes · 10 min read
Common Causes of Java Memory Leaks and How to Fix Them
Java Captain
Java Captain
Sep 25, 2017 · Fundamentals

Java Collection Framework Overview with Code Examples

This article explains the Java collection class diagram, distinguishes concrete classes, abstract classes, and interfaces, describes Iterator and ListIterator behavior, and provides detailed code demonstrations of HashSet, ArrayList, ListIterator, and WeakHashMap usage along with their outputs.

ArrayListCollectionsHashSet
0 likes · 13 min read
Java Collection Framework Overview with Code Examples