Category: ADVANCE JAVA

Java Generics

Java Generics

Generics In Java can be understood by the figure below, as you can see there is a cup and in which “T” denotes what type of entity does it contain. Let’s say, it may...

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...