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
Why is the singleton pattern considered to be an anti pattern?
Explain importance of throws keyword in java?
What is arraylist e?
Can this keyword be used to refer static members?
What are the two categories of data types in the java programming language?
What class allows you to read objects directly from a stream in java programming?
What is incompatible types in java?
What is the use of pattern in java?
What is a nested list?
What are the new features in java 8?
Why we cannot override static method?
how to deploy tomcatserver to weblogic server? write d following steps?
What does @param args mean in java?
what is difference betweem home interface and remote interface?
What is the importance of static variable?