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 custom tags?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
Can you give an overview of how a struts application flows?
What is difference between lookupdispatchaction and dispatchaction?
What are interceptors in struts 2?
What are the contents on web.xml in struts application ?
How do u provide security to ur project?(Banking domain project)
What is action servlet in struts?
What are the features of struts 2?
How we can controlled duplicate form submission in struts?
What is the purpose of @before?
What are pull and push mvc architecture and which architecture does struts2 follow?
What is the different actions available in struts?
Define struts?
What is actioninvocation?