What is thread deadlock? How to resolve thread deadlock?
Answers were Sorted based on User's Feedback
Answer / mayur laniya
Deadlock is describe a situation , where more than one
threads are blocked, forever (Continue) in a waiting for
each other to released the resources.
- I think deadlock can't be resolved by writtong such kind
of programming statements.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / s.ramesh
Deadlock describes a situation where two or more threads are
blocked forever, waiting for each other.
Deadlock cann't be resolved.....
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / divya
Deadlock can be resolved at design level.
* Instance referring to an object of Shared Resources.
* Infinite waiting for an event to happen in run method.
In the above mentioned case make sure that synchronization
is not been done.
| Is This Answer Correct ? | 0 Yes | 1 No |
list the types of dialodg
In a multitiered application which tier is the browser in?
Name three component subclasses that support painting?
What are the different approaches to represent an inheritance hierarchy?
the advantages of polymorphic
Should synchronization primitives be used on bean methods?
How to determine applet?s height and width?
What is private static final long serialVersionUID = 1L;
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.
What is local interface. How values will be passed?