real time example for deadlock,starvation,livelock
Answers were Sorted based on User's Feedback
Answer / maheswarijothi
pls send answer immediately.................
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / 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 |
Answer / amit
livelock........
i think this answer should be justify......
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / prateek shrivastava
Dead lock generally occurs when 2 threads try to acquire
same shared resource. In this case each thread end up
waiting for other to release lock and deadlock occurs
| Is This Answer Correct ? | 5 Yes | 5 No |
Program to print 1 1 2 1 2 3 1 2 3 4 like that
we have a 100 classes at that time which class we have to write main method? pls help me
Why java strings are immutable in nature?
What is Restrictions in hibernate?
Can Applet have constructors?
What is parameter example?
What is t type java?
How do you create immutable object in java?
What is a ternary operator in java? What is an interface?
explain local datetime api in java8?
What do you mean by chromounits in java8?
What is the this keyword?