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 |
Why threads will block on I/O?
What is the difference between RMI and Socket?
What are the types of scaling?
What are the different methods of identifying an object?
Which container method is used to cause a container to be laid out and redisplayed?
What is the relation between the infobus and rmi?
What are the steps to write p-to-p model application?
What is checkpoint? How to create checkpoints in our java projects?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
what is meant by JRMP?
How can I avoid validating a form before data is entered?