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 |
What is ioc concept & explain it?
What is metaspace?
why we use main in java?
Difference between swing and awt?
Explain bind(), rebind(), unbind() and lookup() methods?
Can constructors be synchronized in java?
Why DOM Parser would take more Memory than SAX parser while they are parsing?
what is singleton class? where it mainly used in the projects?
What is the difference between long.class and long.type?
What is the infobus?
function of extends and implements keywords?
How can I avoid validating a form before data is entered?