fail-fast iterator Vs fail-safe iterator
fail-fast iterator fail-safe iterator Is Modification of underlying Collection Allowed? NO. It throws ConcurrentModificationException if the underlying collection is structurally[…]
Read moreAmplify your java knowledge with javagyansite
fail-fast iterator fail-safe iterator Is Modification of underlying Collection Allowed? NO. It throws ConcurrentModificationException if the underlying collection is structurally[…]
Read moreIn this Article, we will explore HashMap vs Hashtable vs SynchronizedHashMap vs ConcurrentHashMap. HashMap vs Hashtable vs SynchronizedHashMap vs ConcurrentHashMap:[…]
Read moreIn this article, we will explore the features, methods, and performance characteristics of HashMap in Java, allowing you to leverage[…]
Read moreLinkedList implements both List and Deque. It uses doubly-linked list data structure internally to store the elements. Like an ArrayList,[…]
Read moreIn this article, we will examine various aspects of ArrayList in Java. So, let’s get started. What is ArrayList in[…]
Read moreIn this article, we will look into the high level view of Java Collections Framework. The Java Collections Framework is[…]
Read moreLet us start by understanding the terms “Pass By Value” and “Pass By Reference”. Pass By Value(copy the value, and[…]
Read moreInheritance Composition Aggregation Relationship type “is a” relationship “part of” relationship “has a” relationship Lifetime of part NA The lifetime of[…]
Read moreIn this post on Immutable class in Java, we will explore into the characteristics that define these classes, the benefits[…]
Read moreProblem with String in Java One of its biggest strength Immutability is also biggest problem of Java String if not[…]
Read more