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 covariant return type?
Explain about collection interface in java?
Can set contain duplicates?
What is indexof in java?
What is the symbol for line break?
Describe string intern() methodology
Why is stringbuffer faster than string?
What is a dot notation?
What are controls and their different types in awt?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Can you extend main method in java?
What is called module?
Difference between nested and inner classes ?
What is computer compiler?
What is a variable declaration?