Answer Posted / vinod varma
set is an interface which doesnot allows the duplicate values
where as list is also an interface which allows the
duplicate values and we may not guarantee the order of
elements in set
but we can get the elements from list according to their
indexes. we may not insert the elements into set at the
specific index, but possible in list.
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
How do you escape sequences in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
What is overloading and overriding in java?
Is Java a dying language?
What is percentage in java?
Difference between process and thread?
What is the static import?
What are thread groups?
What's the base class of all exception classes?
How to find the index of the largest number in an arraylist java?
What is final keyword in java?
How does list work in java?
Explain listiterator and methods in listiterator?
Can we make a constructor final?
What are serialization and deserialization?