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
Can we have static methods in an interface?
How to display all the prime numbers between 1 and 100
What is difference between c++ and java ?
What is the Difference between Final Class && Abstract Class?
Write a program to calculate factorial in java?
Write a java program that prints all the values given at command-line.
How do you do absolute value in java?
What is a variable and constant?
Which collection is best for sorting in java?
Is passing by reference faster?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What is nan in java?
What is the use of :: in java?
What is primitive array?