Answer Posted / krishnareddym. a
When we required uniqueness then we can use set and set
does not allow any duplications but list may contain
duplications set and list both extends collection interface...
Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
Why runnable interface is used in java?
What are the uses of java?
What are static initalizers in java ?
Is node a data type in java?
Difference between final and effectively final ?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Does constructor creates the object ?
What is bubble sort in java?
Is integer passed by reference in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is gc()?
what are the disadvantages of indexes in oracle?
Can one thread block the other thread?
Which is easier netbeans or eclipse?
Can we use a switch statement with strings?