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 meant by method overriding?
Is string pool garbage collected?
What is :: operator in java 8?
What is an object in java and how is it created?
How do you square a number in java?
What are the ways to instantiate the class class?
List the three steps for creating an object for a class?
Is there a way to increase the size of an array after its declaration?
What initialize variables?
Explain Basics of OOP Language in java
Write a program to solve producer consumer problem in java?
Which variable is the independent variable?
What are the four pillars of java?
Can a final variable be initialized in constructor?
Can you access non static variable in static context?