Core Java Interview Questions and Answers Collections Interview Tips

2,665 views · Published 10 September 2012 · 3:52 · Indexed 21 October 2026

Channel: Interview DOT · 2012 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. http://www.interviewdot.com

Welcome to www.InterviewDot.com     How to prepare for Java interview Questions :   

Top Java Interview Questions and Answers : Collection classes important points -
Java Collection Classes -- Important Tips :

ArrayList : Fast Iteration and fast random access.

Vector : Its like slower ArrayList,but it has synchronized methods.

LinkedList: Good for adding elements to the ends ie stacks and queues.

Hashset : Fast access,assures no duplicates,providing no ordering.

LinkedHashSet : No duplicates,iterates by insertion order.

TreeSet : No dupicates,iterates in sorted order.

Hashmap :Fastest updates [key / values];allows one null key ,many null values.

Hashtable:Like a slower HashMap [as with vector,due to its synchronized methods],no null values or null keys allowed.


For more Java Interview questions and answers  - logon to www.InterviewDot.com - India's Top Interview Guide.

More from this channel