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
What is the main functionality of the remote reference layer?
How is a variable stored in memory?
What is treemap in java?
Where are local variables stored?
Explain different ways of creating a thread?
How do you do absolute value in java?
What is mysql driver class name?
Can we call virtual funciton in a constructor ?
What is an example of procedure?
What is data structure in java?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is the purpose of the finalize() method?
what do you mean by java annotations?
How many bytes are a float?
What is final keyword in java?