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 do you mean by the abstract package in struts2, and what is its utilization?
What is dispatchaction?
Is there a particularly good ide to use with struts?
What is the difference between filters and interceptors ?
What are result types in struts?
Describe the two types of formbeans.
What is the difference between plain-validator and field-validator?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
Which configuration file is used for storing jsp configuration information in struts?
Give an alternative way to protect jsp’s with not much features from direct access.
What is the purpose of @requiredstringvalidator annotation?
Is struts compatible with other java technologies?
Is Struts Framework part of J2EE?
What is apache struts cve 2017 5638?
How an actionform bean is created?