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

strings in java are objects.why?

2 Answers  


what is run time polymorphism

4 Answers  


What is difference between classpath and path variables in java?

0 Answers  


What do you mean by platform independence?

0 Answers  


What is core java used for?

0 Answers  






Why do we need public static void main(String args[]) method in Java...?

1 Answers  


What is get () in java?

0 Answers  


What is the use of collections in java? How it is implemented in real time applications?

2 Answers  


The class "Class" is belongs to which package?? a) java.lang b)java.lang.reflect c)java.util d)None

4 Answers  


can we create a instance for intwerface?

3 Answers  


What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


What is the maximum size of array in java?

0 Answers  


Categories