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
Why are there no global variables in java?
Why is a string immutable?
Which class represents the socket that both the client and server use to communicate with each other?
Is there is any difference between a scrollbar and a scrollpane?
How big is a 64 bit float?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
Can list be final in java?
Where is the find and replace?
What are identifiers in java?
How many arguments can be passed to main ()?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is meant by structural programming?
Is int primitive data type?
What are register variables what are the advantages?
What is formatted output?