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 compiler and what its output.
How will you add panel to a frame?
Can a string be null?
How do you check if a string contains only numeric digits?
Why hashset is used in java?
how can you catch multiple exceptions in java?
Is there any case when finally will not be executed?
Define how objects are stored in java?
What is a conditional statement explain with example?
How to restrict a member of a class from inheriting by its sub classes?
What happens if I remove static from main method?
How to provide security in java
Explain about map interface in java?
What do you mean by aggregation?
What is the static field modifier?