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 tag libraries are defined in Struts?
How are interceptors and servlet filters different?
What is the purpose of @conversionerrorfieldvalidator annotation?
What is the apache struts vulnerability?
How can we display all validation errors to user on jsp page?
How we can install struts?
Which class of struts is responsible to converts data types from string and vice versa?
in struts how to use hibernate with struts>
What is struts2 namespace?
What is action chaining ?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
What is the procedure of operation of a form tag?
What do you mean by ognl?
What is the purpose of form-beans tag in struct-config.xml?
What are the bundled validators?