Java Classloader is the part of the Java Runtime Environment (JRE) that loads classes on demand into Java Virtual Machine (JVM)...
In Java, a HashMap works on the concept of hashing...
In Java, most implementations of Map interface provide a constructor to create copy of another map. But the copy method is not synchronized...
In a Map we can lookup for a value by using a distinct key. In a Map with reverse view and lookup, even the values...
In Collection interface remove(Object o) method is used to remove objects from a Collection...
In a Java collection UnsupportedOperationException is thrown when the requested operation is not supported by the collection...
IdentityHashMap class has one tuning parameter for performance improvement: expectedMaxSize...
EnumSet is a specialized implementation of Set...
In a HashMap collection it is very important for a key object to implement hashCode() method and...
Differences between Fail-fast and Fail-safe iterators are as follows...
Remove() method in HashMap uses logic similar to the one used in get() method. First we locate the correct...
An ArrayList is a newer class than a Vector. A Vector is considered a legacy class in Java. The differences are...
Main benefits of Collections Framework in Java are as follows...
Java provides throw keyword to throw an exception from a method or a static block. Java provides throws...
Checked Exceptions extend Throwable class, but they do not extend RuntimeException or...
String interning refers to the concept of using only one copy of a distinct String value that is Immutable...
Java provides finalize() method to perform any cleanup before Garbage Collection. This method is in Object...
Java has an automated process called Garbage Collector for Memory Management. It is a daemon in JVM that monitors...
In Java, there are no pointers. Memory management and allocation is done by JVM. Since memory allocation...
We can provide implementation in finalize() method to reference and unreferenced object. For an unreferenced...