Java HashMap Introduction Java HashMap is the HashTable implementation of Map interface. It is a collection used to store data as key and value. It allow a single null in Key and any number of null values. Java HashMap Anatomy Buckets: It is the Entry array created to hold different key-value […]
To install Java in Linux, refer the following instructions: 1. Download the 32bit or 64bit compressed binary “.tar.gz” file from here. 2. Create a system directory like /usr/lib/jvm to install JDK and copy the tar file to the directory.
sudo mkdir -p /usr/lib/jvm
sudo mv jdk-7u3-linux-x64.tar.gz /usr/lib/jvm/
3. Change the present working directory to the installation directory and […]