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
Which is illegal identifier in java?
Can you explain the cs option of java interpreter?
What is immutable class in java?
How does a for loop work?
What is a method in programming?
Difference between arraylist and vector.
Are variables stored in ram?
What are local variables?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
Can we change the scope of the overridden method in the subclass?
What is a heavyweight component?
What is the purpose of interface?
Is 0 true or is 1 true?
can used Protected Class outside Function.?
Can you declare the main method as final?