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 |
What is the purpose of garbage collection in java?
How do you do exponents in java?
What is the transient keyword?
how to print the below in java? * * * * * * * * *
what is the difference between abstract class and Interface?where we can use it in realtime projects?
23 Answers Agile Software, Cognizant, IBM, Innodata, Logica CMG, Mitosis, Nagarro, Value Chain,
Is arraylist dynamic in java?
Why main method is static in java?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
0 Answers HCL, SAP Labs, Vital Soft,
What is an anonymous class in java?
What are the differences between heap and stack memory?
What is the console in java?
Does java support multiple inheritance or not?