real time example for deadlock,starvation,livelock
Answer Posted / keerthi
deadlock:let two members are going to draw some picture.they are combinedly having pencil &ruler.one uses pencil,another is having ruler.unless u r with these two the drawing will not be completed.this is dealock.
livelock:two members are walking towards each other through a narrow corridor .Both of them are going tocross the corridor,this is known as livelock.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Why do we need singleton class?
What is the finalize method do?
What do you mean by synchronized non access modifier?
What is difference between array and arraylist in java?
Which package has light weight components?
What are nested classes in java?
Is java util list serializable?
What is boolean false?
extending thread class or implementing runnable interface. Which is better? : Java thread
What are the advantages of user defined functions?
Difference between vector and arraylist.
What do you mean by inner class in java? Explain
what do you understand by the term string with respect to java?
Which is better list or arraylist in java?
Outline the major features of java.