Arraylist overview

ArrayList is a java class which implements List interface Main features of ArrayList 1) It uses indexing to store the elements sequentially 2) It allows duplicate elements 3) It is not synchronized 4) Elements from Arraylist can be accessed using index 5) We can also use iterator and ListIterator to access the elements 6) Elements […]

Share this article on

Collection Overview

Collection is a framework provided by java to store and manipulate a group of objects There are various interfaces and classes are provided in collection framework Collection It is the root interface in the collection hierarchy Collection is base interface which we may use in our code as a type for all collection subtypes There […]

Share this article on
< Previous Next >