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
Can sleep() method causes another thread to sleep?
What is thread start?
What is the basic concepts of OOPS?
What is a class in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What is static import in java?
What are the differences between Java 1.0 and Java 2.0?
What sorting algorithm does javascript use?
What is the use of list in java?
Can private class be inherited in java?
explain the concept of virtual method invocation in polymorphism in detail?
What are the drawbacks of singleton class?
What programs use java?
What is the use of a conditional inclusion statement in Java ?
Difference between object instantiation and construction ?