what is difference between set and list in collection?
Answer Posted / harikrishna
set inter is used to represent unique elements where as in
list interface elements need not be unique ArrayList,
Vector and LinkeList implememts list interface.Hashset and
LinkedHastSet implements set interface
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
Does unicode support all languages?
What are streams?
Explain wrapper classes in java?
Does java trim remove newline?
What data type is string java?
What is string builder in java?
Is minecraft java edition free?
When do we need to use internal iteration? When do we need to use external iteration?
What is a hashmap used for?
How do you add an element to a set in java?
What is double word?
Explain the significance of class loaders in bootstrap?
What is lifetime variable?
List implementations of list interface?
Can we overload the main() method?