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
What is stream api in java8?
Explain implementation and how is it different from conversion?
How garbage collection is done in java?
What kind of variables a class can consist of?
What invokes a thread's run() method in java programming?
What is the difference between a local variable and an instance variable?
What is subsequence of a string?
What is difference between wait and notify in java?
What is Gang of four design patterns
What are the drawbacks of reflection?
What are pass by reference and pass by value?
How do you sort words in java?
What is the purpose of the System class?
What do you understand by Header linked List?
Can I overload to string method