Correct Answer: the notify() method can only be called from inside a synchronized block or from a synchronized method
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Core Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Core Java MCQ Questions
Given the code: Integer i= new Integer("1"); if (i.toString() == i.toString()) System.out.println("Equal"); else System.out.println("Not Equal");
which statement is True ?
The keyword that ensures a field is coherently accessed by multiple threads is:
A "blank" final variable (defined without an initial value):
The TreeMap class is Java's implementation of which data structure?
Is it a good pratcice to catch "Throwable"?
JDBC addresses the issue of transactions.
The "java" command line tool is used to:
What is the benefit of ConcurrentHashMap<K,V>?
How should you create a new class that maps keys to values, using the Java Collections Framework?