Answer Posted / dsr
By using wait(),notify and notifyall() methods in the code.
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is the difference between static class and normal class?
Why can't you declare a class as protected?
Difference between static binding and dynamic binding?
What is the loop in java?
What is the statements?
Explain how to force the garbage collection in java.
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is a ternary operator in java? What is an interface?
How to find the index of the largest number in an arraylist java?
How do you include a string in java?
What are the escape sequences in java?
How to retrieve data from database in java using arraylist?
Why is String immutable?
design an lru cache in java?
What is the purpose of garbage collection in java?