Answer Posted / yadaiah
Collection is the root interface for all the hierarchy (except Map).
Set interface unique feature is that it does not accept duplicate elements. That is, no two elements will be the same.
SortedSet interface is derived from Set interface and adds one more feature that the elements are arranged in sorted order by default.
List interface permits duplicate elements.
Queue interface holds elements and returns in FIFO order.
Map adds the elements in key/value pairs. Duplicate keys are not allowed, but duplicate values are allowed. One key can map one value only.
SortedMap interface is a particular case of Map. Keys are sorted by default.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the ways in which duplicate form submission can occur?
What is switchaction?
What is actionmapping?
What is the use of execAndWait interceptor?
Are interceptors and filters different?
Explain about the
List some bundled validators?
How is forward action used for integration?
How is a lookup dispatch action created?
What is the use of reset method of ActionForm class?
What are action errors and error and what are the consequences they impose?
What is ValueStack and OGNL?
What are the features of struts?
Are struts thread safe?
What are best practices to follow while developing Struts2 application?