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
Name few java 8 annotations ?
Which is dependent variable?
You're given a Boolean 2D matrix, can you find the number of islands?
When is the finalize() called?
What isan abstract class and when do you use it?
State the difference between strings and arrays.
What is the difference between break and continue statements?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
How do you remove an element from an arraylist in java?
Can a class extend more than one class?
How do you check if an arraylist is not empty?
What are classloaders?
Does java have a compiler?
What is unicode used for?
Can we overload the main() method?