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
What restrictions are placed on method overriding in java programming?
What do you understand by casting in java language?
What is the internal implementation of set in java?
What is difference between null and void?
Is vector ordered in java?
What are the 4 types of research methods?
Why is java called the platform independent programming language?
What does java final mean?
Can bool be null?
What about main thread in java?
how its run?
What should I import for arraylist in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
What is the use of pattern in java?
What is the difference between hashmap and hashtable? What is an interface?