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 we use merge option in hybernate pls give a ex snippet
What is scope & storage allocation of static, local and register variables? Explain with an example.
Does the order of public and static declaration matter in main method?
What is a default constraint?
What is static synchronization?
What is meant by class loader? How many types are there? When will we use them?
Does java runtime require a license?
Why for each loop is used?
What are advantages of using Java?s layout managers than windowing systems?
What Is Query Throttling in java?
Can we override tostring method in java?
When super keyword is used?
Explain yield() method in thread class ?
Write a program to print fibonacci series
What do you mean by local class?