Explain notifyall() method of object class ?
Answer / Mehraj Khalid
The notifyAll() method notifies all threads that are waiting on an object's monitor (synchronized block or synchronized method). This is useful when you need to wake up multiple threads that are blocked on the same object.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is interface and its use?
When should a function throw an exception?
1 Answers Thomson Reuters, Virtusa,
Advantages of Inheritance in java.
what is run time polymorphism
Is map sorted in java?
please send code example of inner classes?
What is 16 bits called?
Can we overload the main() method?
Explain the difference between an Interface and an Abstract class?
What is advantage of using threads?
What language is java written?
what is the Use of throws exception?