Category: JAVA COLLECTION FRAMEWORK

How to use HashMap In Java

HashMap In Java is a Map based collection class that is used for storing Key-value pairs and is denoted as Hash Map<Key, Value> or Hash Map<K, V>. HashMap class implements the map interface by...

ArrayList Hierarchy

how to use arraylist in java

The java.util.ArrayList class is one of the most commonly used classes in the Collection Framework. Array List is an implementation that stores elements in a backing array. The array’s size will be automatically expanded...