Answer Posted / ravikiran(aptech mumbai)
deadlock is the uneven condition occured between two
synchronized methods calling each other on each others bodies.
we can avoid dead lock threw inter thread communication by
calling wait notify and notifyall methods of object class
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the need of transient variables in Java ?
Which data type is class in java?
How do you declare an array in java?
What are alternatives to java serialization?
Why are variables important in research?
Is sizeof a keyword in java programming?
extending thread class or implementing runnable interface. Which is better? : Java thread
what is the purpose of using rmisecuritymanager in rmi?
What is arrays sort in java?
What is the type of lambda expression?
Can we create an object of private class?
What are actual parameters?
Why is it important to initialize a variable?
Explain differences between collection api and stream api?
Write the algorithm to check the number non-leaf nodes in a tree.