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
How long do struts last?
What are the core classes of struts?
How can we group related actions in one group in Struts?
What is the use of struts?
What is the use of struts config xml file?
What is struts2 in java?
Describe validate() and reset() methods.
What is the use of jsonvalidation?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What configuration changes are required to use Tiles in Struts?
What is token used for?
How is token generated?
What is request processor and how does it relates to action mapping?
What do you mean by ognl?
What is the struts in java?