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
How to reverse string in java?
What happens if we don’t override run method ?
Can a function return a function?
What is the use of a copy constructor?
Which is faster call by value or call by reference?
How do you create immutable object in java?
What does pointer mean?
What is the purpose of the file class in java programming?
Why java is called not pure object oriented language?
What is unicode with example?
What is structure of java heap? What is perm gen space in heap?
How many return statement are allowed in a function?
What is the difference between a loader and a compiler?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is the function of character?