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 a custom tag?
How do you create message resource?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is the difference between struts and spring?
How we can install struts?
What is struts and springs in java?
In struts, how can we access java beans and their properties?
What kind of mvc is struts 2?
What are the cons of struts 2?
What are the features of struts 2?
Name some useful annotations introduced in Struts2?
What is struts.devmode?
How can we display all validation errors to user on jsp page?
What does validation interceptor?
Lists the bundled validators in struts?