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 is the purpose of @beforeresult annotation?
How many action classes can be used in struts application?
What is jakarta struts framework?
What are the benefits of Interceptors in Struts2?
What is ognl?
Give the details of xml files used in validator framework?
What do you mean by actionmapping?
How properties of a form are validated in Struts?
What is the purpose of execute() method?
Which configuration file is used for storing jsp configuration information in struts?
What’s the utilization of resource bundle properties file in struts validation structure?
How duplicate form submission can be controlled in struts?
How nested beans can be used in Struts applications?
What configuration changes are required to use resource files in Struts?
How you will make available any message resources definitions file to the struts framework environment?