Java Interview Question 45 Collection Java Interview Questions
2,720 views · Published 26 October 2013 · 2:10 · Indexed 23 October 2026
Channel: Interview DOT · 2013 · Science & Technology
Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Java Interview Question 45 Collection Java Interview Questions Core Java Collections Interview Questions ? Java Interview Questions 1.What is Java Collections Framework ? List out some benefits of Collections framework ? 2.What is the benefit of Generics in Collections Framework ? 3.What are the basic interfaces of Java Collections Framework ? 4.Why Collection doesn't extend Cloneable and Serializable interfaces ? 5.Why Map interface doesn't extend Collection interface ? 6.What is an Iterator ? 7.What is difference between Enumeration and Iterator interface ? 8.Why there is not method like Iterator.add() to add elements to the collection ? 9.Why Iterator don't have a method to get next element directly without moving the cursor ? 10.What is different between Iterator and ListIterator ? 11.What are different ways to iterate over a list ? 12.What do you understand by iterator fail-fast property ? 13.What is difference between fail-fast and fail-safe ? 14.How to avoid ConcurrentModificationException while iterating a collection ? 15.Why there are no concrete implementations of Iterator interface ? 16.What is UnsupportedOperationException ? 17.How HashMap works in Java ? 18.What is the importance of hashCode() and equals() methods ? 19.Can we use any class as Map key ? 20.What are different Collection views provided by Map interface ? 21.What is difference between HashMap and Hashtable ? 22.How to decide between HashMap and TreeMap ? 23.What are similarities and difference between ArrayList and Vector ? 24.What is difference between Array and ArrayList ? When will you use Array over ArrayList ? 25.What is difference between ArrayList and LinkedList ? 26.Which collection classes provide random access of it's elements ? 27.What is EnumSet ? 28.Which collection classes are thread-safe ? 29.What are concurrent Collection Classes ? 30.What is BlockingQueue ? 31.What is Queue and Stack, list their differences ? 32.What is Collections Class ? 33.What is Comparable and Comparator interface ? 34.What is difference between Comparable and Comparator interface ? 35.How can we sort a list of Objects ? 36.While passing a Collection as argument to a function, how can we make sure the function will not be able to modify it ? 37.How can we create a synchronized collection from given collection ? 38.What are common algorithms implemented in Collections Framework ? 39.What is Big-O notation? Give some examples ? 40.What are best practices related to Java Collections Framework ? 41.Difference between ConcurrentHashMap and Collections.synchronizedMap and Hashtable in Java ? 42.How can Arraylist be synchronized without using Vector ? 43.Which all classes implement Set interface ? 44.Which design pattern Iterator follows ? 45.What is the Collection interface ? A Job Portal http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm Other Top Job Portals www.Naukri.com www.MonsterIndia.com www.TimesJobs.com Are you looking for a new Job ? InterviewDot.com - A Job Portal http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm
More from this channel
-
7:19
java pass by value
-
3:19
java interview best books
-
8:03
Explain java finally block
-
4:29
what are the advantages of OOPL Java Interview
-
2:40
what is java decompiler how to decompile java code
-
5:51
Top 4 Job Interview Tips How to prepare for Job interview
-
5:29
Top Job Interview TIPS What are your strengths How to answer
-
3:49
Top 16 Job Interview Questions Best Job Interview Questions