What are the two ways you can synchronize a block of code?
Answer Posted / popol83
I think using mutex is the second way.
Because synchronizing an object is useless
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are java packages?
How to change the priority of thread or how to set the priority of thread?
Is treeset sorted in java?
What is pojo class in java?
Difference between notify() method and notifyall() method in java?
Is namespace same as package in java?
How do you delete a list in java?
What is null object in java?
What loop means?
Explain restrictions for using anonymous inner classes?
What are the new features in java 8?
Why does my function print none?
Why stringbuilder is not thread safe?
What is the difference between jfc & wfc?
What is application tier?