Multithreading and Synchronization are considered as the typical chapter in java programming. In game development companies, multithreading related interview questions are asked mostly. A list of frequently asked java multithreading and concurrency interview questions and answers is given below. 1) What is multithreading? Multithreading is a process of executing multiple […]
Java
Java HashMap
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 […]
Install Java in Linux
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 […]