tag:blogger.com,1999:blog-694855878384792308.post1990807073179687237..comments2024-03-21T06:26:49.387-07:00Comments on Java67: Top 10 Java Collections interview Questions Answers for Beginnersjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-694855878384792308.post-30809920987908897572015-12-03T18:48:53.600-08:002015-12-03T18:48:53.600-08:00For Junior Java Developers of 2 to 3 years experie...For Junior Java Developers of 2 to 3 years experience, I would say to prepare well for DS and Algo, you can check some <a href="http://javarevisited.blogspot.com/2013/03/top-15-data-structures-algorithm-interview-questions-answers-java-programming.html" rel="nofollow">sample Data structure questions</a> here, once you are good at that, just prepare some <a href="http://java67.blogspot.com/2015/03/top-40-core-java-interview-questions-answers-telephonic-round.html" rel="nofollow">basic Java questions</a> for telephonic round. Once you are done that you are ready, but if you want more confidence, you should check this <a href="http://javarevisited.blogspot.com/2015/10/133-java-interview-questions-answers-from-last-5-years.html" rel="nofollow">Mega list of Java questions</a>, which contains core Java questions including multi-threading, exception handling, collections, GC, design pattern and OOP questions from last 5 years of Java interviews. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-694855878384792308.post-23399821660971605662014-12-10T23:35:17.336-08:002014-12-10T23:35:17.336-08:00From last couple of years Java interviews has chan...From last couple of years Java interviews has changed drastically, now days no one ask about classical questions like difference between Iterator and Enumerator or difference between ArrayList or Vector. In 2014, the most popular question was about usage of different collection interface e.g. Map, Set, List and Queue. Interviewer was also very keen to know how much you know about certain implementation e.g. how ConcurrentHashMap perform better than Hashtable or Synchronized HashMap. How HashSet works and How to implement PriorityQueue by your own. <br /><br />In order to prepare on Collections framework I just following items :<br />1) Understand interfaces e.g. Map, Set, List, Queue and otherws to figure out key difference e.g. Set doesn't allow duplicate but List does.<br /><br />2) Understand different implementation classes e.g. HashMap, Hashtable, ConcurrentHashMap, ArrayList, LinkedList, Vector etc and perform comparative analyssis to find out which Collection class suits which condition. Anonymousnoreply@blogger.com