is set interface synchronized by default???
Answer Posted / jan
by default not possible.
But we can use syncronizedSet(obj of set)
Like Collections.synchronizedSet(set).
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
When is update method called?
What do you mean by mnemonics?
Does java vector allow null?
How java uses the string and stringbuffer classes?
What does n mean in java?
Why we use protected in java?
What is an iterator interface in java programming?
Does list maintain insertion order java?
What is the difference between static and global variables and also define what are volatile variables?
What are reference variables in java?
What is integers and example?
Name some classes present in java.util.regex package.
Difference between ‘>>’ and ‘>>>’ operators in java?
What is meant by local variable and instance variable?
Explain the importance of finally block in java?