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 is treeset in java collection?
Why do we need array in java?
What is the difference between variable declaration and variable initialization?
what do you understand by the term string with respect to java?
How does regex work?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Is arraylist ordered in java?
What is difference between == equals () and compareto () method?
What is a hashmap used for?
What are the differences between getting and load method?
Can you instantiate the math class?
What is bufferedreader in java?
What does ide stand for?
Can we call the constructor of a class more than once for an object?
What is sizeof () operator?