Author: Shekhar Sharma

SQL interview part 1

SQL Interview Questions part 1

The queries which we are going to share here, have mostly been asked in interviews. This is SQL interview questions  part 1. 1) Display the details of all employees. 2) Display the department information from...

SQl interview questions

SQL Interview Questions

Here , we will cover most common queries/questions asked in SQL interviews. You can also share the questions that you would have faced in interviews , it might be helpful for the someone. You can...

Iterator in java

Iterator in Java

In the previous post, we have learnt about TreeMap in java. In this post, we will learn about the Iterator in java. Iterator is used for iterating(looping) over collections classes in java like HashMap,...

TreeMap

TreeMap in Java

In the previous post, we have learnt about LinkedHashMap. In this post, we will learn about TreeMap in java. It has the following features as given below. It implements the NavigableMap interface and extends...

LInkedHashMap

LinkedHashMap in java

In the previous post, we have seen how to remove elements from HashMap. In this post, we will learn about LinkedHashMap in java. LinekdHashMap has the following features. It implements Map and extends HashMap....

Remove hashmap

Remove key and value pair from HashMap

In the previous post, we have seen how to sort the HashMap on the basis of keys and values. In this post we will see how to remove key and value pair from HashMap....

Hashmap

Sort HashMap by keys and values

In the previous post, we have learnt how to iterate over the HashMap. In this post, we will see how to sort HashMap by keys and values. By default, HashMap does not preserve any...