What is a deadlock ?
Answers were Sorted based on User's Feedback
Answer / janet
When two threads are waiting each other and can't proceed
the program is said to be deadlock.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ravikiran(aptech mumbai)
deadlock is the state which will occur when two synchronized
methods calling one another continuously
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / annonmys
deadlock is the state when different processes are waiting
for the resorces held by any other processes, which in turn
are waiting for some other processes and so on. in this
situation no process is able to perform the required task
and hence goes in the deadlock state.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / madhuri reddy
if one process need a resourse,but it is used by another
process.then that process wait for sometime for that
resourse.that process wait sometime later it will go to
deadlock stage.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / hanu
If a process is waiting for a resource is using by
another process in that case deadlock encounter if its
waited undefinetly(For a certain period) ..
| Is This Answer Correct ? | 1 Yes | 0 No |
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
Are arrays primitive data types?
What is Collection interface?
What is better- service oriented or batch oriented solutions?
Define an applet in java?
Is set thread safe java?
Explain the features of interfaces in java?
in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen?
Why are arrays useful in java?
What is the purpose of the enableevents() method in java programming?
How can you reverse a string?