Category Archives

Immutable List in Java

ImmutableList, as suggested by the name, is a type of List which is immutable. It means that the content...

Immutable List in Java

ImmutableList, as suggested by the name, is a type of List which is immutable. It means that the content...

LinkedList in Java

Linked List is a part of the Collection framework present in java.util package. This class is an implementation of...

LinkedList in Java

Linked List is a part of the Collection framework present in java.util package. This class is an implementation of...

AbstractSequentialList in Java

The AbstractSequentialList class in Java is a part of the Java Collection Framework and implements the Collection interface and...

AbstractSequentialList in Java

The AbstractSequentialList class in Java is a part of the Java Collection Framework and implements the Collection interface and...

AbstractList in Java

The AbstractList class in Java is a part of the Java Collection Framework and implements the Collection interface and...

AbstractList in Java

The AbstractList class in Java is a part of the Java Collection Framework and implements the Collection interface and...

Iterator vs Foreach In Java

Iterator is an interface provided by collection framework to traverse a collection and for a sequential access of items...

Iterator vs Foreach In Java

Iterator is an interface provided by collection framework to traverse a collection and for a sequential access of items...

How to use Iterator in Java?

‘Iterator’ is an interface which belongs to collection framework. It allows us to traverse the collection, access the data...

How to use Iterator in Java?

‘Iterator’ is an interface which belongs to collection framework. It allows us to traverse the collection, access the data...

Iterators in Java

Iterators are used in Collection framework in Java to retrieve elements one by one. There are three iterators. Enumeration...

Iterators in Java

Iterators are used in Collection framework in Java to retrieve elements one by one. There are three iterators. Enumeration...