Answer Posted / priyavarzhni
Deadlock is avoided by synchronising the code.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
what happens when a thread cannot acquire a lock on an object? : Java thread
What is annotation in java?
Why collection doesn’t extend cloneable and serializable interfaces?
What is java volatile?
What is t type java?
What do you mean by collectors in java 8?
What is better - 'bit-shift a value' or 'multiply by 2'?
What are variable names?
What is the maximum size of a string in java?
Do I need to import java.lang package any time? Why?
Why is stringbuffer thread safe?
How many tetrahedral voids are there in bcc?
What is the difference between a local variable and an instance variable?
In how many ways we can do synchronization in java?
What is treemap in java?