Core Java

Collections Subjective Questions And Answers
More interview questions and answers

What is HashMap and Map?

What is the significance of ListIterator?

Difference between HashMap and HashTable? Can we make hashmap synchronized?

Difference between Vector and ArrayList? What is the Vector class?

What is an Iterator interface? Is Iterator a Class or Interface? What is its use?

What is the List interface?

How can we access elements of a collection?

What is the Set interface?

Whats the difference between a queue and a stack?

What is the Map interface?

What is the Properties class?

How can we use hashset in collection interface?

What are differences between Enumeration, ArrayList, Hashtable and Collections and Collection?

What is difference between array & arraylist?

Can you limit the initial capacity of vector in java?

What method should the key class of Hashmap override?

What is the difference between Enumeration and Iterator?

What is an Iterator?

What is fail-fast property?

What is an enumeration?

What is the difference between Enumeration and Iterator?

Which implementation of the List interface provides for the fastest insertion of a new element into the middle of the list?