What is deadlock and how to avoid this?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / priyavarzhni
Deadlock is avoided by synchronising the code.
| Is This Answer Correct ? | 0 Yes | 5 No |
Difference between linkedlist and arraylist.
Explain the difference between an object-oriented programming language and object-based programming language?
What is meant by final class?
Can private class be inherited in java?
What is a methodologist?
What is empty string literal in java?
What methodology can be employed to locate substrings inside a string?
Which is better arraylist or vector?
Is treeset sorted in java?
What is the functionality of the stub?
Can we have two main methods in a java class?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion