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
Explain the difference between map and flatmap stream operation?
What are daemon Threads in java?
Explain the difference between throw and throws in java?
What is the symbol for space?
What is the arraylist in java?
What modifiers are allowed for methods in an interface?
What is the exact difference in between Unicast and Multicast object?
What is the default value of the local variables?
What is the difference between int and integer in java?
What is balanced tree in java?
worst case complexities of Quick sort and Merge sort.
Describe the Big-O Notation.
How do we access static members in java?
How do you convert bytes to character in java?
What are parsing rules?