Saturday, 30 April 2016

How HashSet works in Java? How HashSet eliminates duplicates in Java? HashSet Tutorial.

How HashSet works in Java?
How HashSet eliminates duplicates in Java?


This is very popular interview question for both beginners and experienced. HashSet internally uses HashMap for storing the data and retrieving it back. 
So if you know how HashMap works then it is very easy to understand how HashSet works.



Sunday, 17 April 2016

Java Interview Questions

Java Interview Questions


Java interview questions and answers focused on "Method overriding and Method hiding".
There are interview questions on other topics like Multithreading, Exception Handling, Type Casting, Ambiguous Overloaded methods etc with detailed explanation on each question.

You will get link of all articles at bottom of this post.