Which of the following are true about ListIterator and Iterator ?
Which of the following Collection are synchronized by nature ?
which of the following are false about Collections and Collection ?
Enumeration is an interface helps to iterate collection,but it can't remove any element the collection it is iterating
How do you get immutable object of a collection ? For example if you were to write an API which return a List or a Set or a Map when a method is called, but you also want that you don't want the client of your API to add or delete any object in the returned collection ?
Which of the following is true about creating an empty List, but immutable ?
The EMPTY_LIST field and teh emptyList() method does return an empty immutable List .(The same also applies to
EMPTY_SET,EMPTY_MAP and corresponding methods emptySet,emptyMap). Which of the following is/are true ?
Which of the following implementation will you use if you were to insert elements at any position in the collection ?
If you were to store objects into an implementation of List which happens only once in the entire lifecycle of the product,but reading these objects inside the List implementation is quite high,then which one would you use ?
If you were to use a List implementation,but not sure which one to, bacause the requirement is not yet clear. In this case which List implementation will you use ?
Set allows at most one null element ?
What is the data structure that a Set uses to store its elements ?
Wchich implementation of Set would you choose if the you want the iterator of set would geive you objects in the order it were inserted ?
Which one of the following is true about natual order and insertion order ?
Which collection class(es) allows you to grow or shrink its size and provides indexed access to
its elements, but whose methods are not synchronized? (Choose all that apply.)