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
what is mutual exclusion? : Java thread
Can a constructor call another constructor?
What is a website container?
How can you write a loop indefinitely in java programming?
What is difference between iterator access and index access?
Difference between method overloading and method overriding in java ?
What do you understand by private, protected and public?
java Technical questions asked by JPMC
What is the final access modifier in java?
Why arraylist is used in java?
How listener identify that the event came from a particular object?
What is parsing a sentence?
What is the inheritance?
Can a class have multiple superclasses?
Write a program to reverse array in place?