what is deadlock in threads?
with example
Answers were Sorted based on User's Feedback
Answer / ak
If an object A is holding an object X and trying to access
object Y and Object B is holding an object Y and trying to
access X, both the objects A,B want to release their
objects only after getting access to the target object in
that situation it is a dead lock
Is This Answer Correct ? | 2 Yes | 1 No |
What are constants and how to create constants in java?
What are the difference between composition and inheritance in java?
What does string mean in java?
Is hashset sorted in java?
What is the difference between post and put?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
What is the purpose of garbage collection in java?
What is the default size of arraylist in java?
can rmi and corba based applications interact ?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
How do you test a method for an exception using junit?
briefley expalin about the packages