difference. between List and Set?
Answers were Sorted based on User's Feedback
Answer / yamini
List contains duplicate values and it does not allows null values.
Set contains unique values and it allows null values.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravi raj
List:
-----
1.list sub interface of collection
2.list is collection objects with duplicates.
Set:
----
1. Set sub interface of collection.
2. Set is collection objects with duplicates.
| Is This Answer Correct ? | 0 Yes | 3 No |
How to get an image from db2 database plz help as soon as possible
How database connectivity in XML is achieved?
Dear freinds... I want to know how to write self mapping for a table using hibernate?
what are JSP tags? what is difference between include action and directory?
What is clustering? What are the different algorithms used for clustering?
how i secure my site with the https protocol.what are the steps?
What are the diff types of exception?
Why threads will block on I/O?
Why does the option tag render selected=selected instead of just selected?
is servlet,struts are threadsafe or not.please telme correct answer
What is the difference between the session.update() method and the session.lock() method?
What are the different approaches to represent an inheritance hierarchy?