real time example for deadlock,starvation,livelock
Answer Posted / 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 View All Answers
Compare java and python.
What do you understand by looping in java? Explain the different types of loops.
What is a control variable example?
Is array synchronized in java?
Does .length start 0 java?
How do weakhashmap works?
Is minecraft java edition free?
What are the basic interfaces of java collections framework?
What is == and === in javascript?
Is oracle java 11 free?
what are different ways in which a thread can enter the waiting state? : Java thread
Can we declare main () method as non static?
What is multiple inheritance? Is it supported by java?
How can you read content from file in java?
What is a databasemetadata?