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
Difference between a class and an object?
Is 0 true or false?
Why convert an applet to an application?
How to disable caching on back button of the browser?
Explain about anonymous inner classes in java?
Why pointers are not used in java?
What is meant by 'Class access modifiers'?
What is class and its types?
In the below example, what will be the output?
What is method overloading in JAVA? Why is it not present in C ?
What is a function argument in java?
'A class is a template for an object' explain this statement.
What is the purpose of format function?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What happens to a static var that is defined within a method of a class?