real time example for deadlock,starvation,livelock

Answers were Sorted based on User's Feedback



real time example for deadlock,starvation,livelock..

Answer / maheswarijothi

pls send answer immediately.................

Is This Answer Correct ?    13 Yes 1 No

real time example for deadlock,starvation,livelock..

Answer / srinivas

pls send answer immediately

Is This Answer Correct ?    9 Yes 2 No

real time example for deadlock,starvation,livelock..

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

real time example for deadlock,starvation,livelock..

Answer / amit

livelock........

i think this answer should be justify......

Is This Answer Correct ?    3 Yes 1 No

real time example for deadlock,starvation,livelock..

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

Post New Answer

More Core Java Interview Questions

What is the default size of set in java?

0 Answers  


program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called

1 Answers   Huawei,


What is non static block in java

10 Answers   Emphasis, Ness Technologies,


What are class types in java?

0 Answers  


Enlist few advantages of inheritance?

0 Answers  






What data type is string java?

0 Answers  


Is it compulsory to have atleast one abstract method in abstract class?

10 Answers  


when we have to use final class in java?

2 Answers  


What are thread priorities and importance of thread priorities in java?

0 Answers  


What are controls and their different types in awt?

0 Answers  


What is independent and dependent variables in research?

0 Answers  


What is executor memory?

0 Answers  


Categories