what is difference between set and list in collection?
Answer Posted / chris
Set does not permit duplicate elements, List does. Also, Set
does not guarantee any iteration order, whereas List does.
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
How do you sort arraylist in descending order?
What is rule of accessibility in java?
What do you understand by classes in java?
What is byte code and why is it important to java’s use for internet programming?
List down the methods and interfaces of collection class in java.
What is hash in java?
Is char a data type in java?
How many decimal digits is 64 bit?
What is %d in printf?
What is the purpose of skeleton and stub?
What does exp mean in math?
How to sort a collection of custom Objects in Java?
What is the role of garbage collector in java?
What is the difference between hashset and treeset in java?
Can we write any code after throw statement?