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 overloading and overriding in java?
What are the 4 types of characters?
What is the difference between error and an exception?
What is the major difference between linkedlist and arraylist?
What is the major drawback of internal iteration over external iteration?
What is the purpose of javac exe?
Explain the difference between serializable and externalizable in java?
In case of inheritance what is the execution order of constructor and destructor?
Does unicode support all languages?
What do you mean by formatting?
What is difference between overloading and overriding in java?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is a variable declaration?
What is a dynamic array java?
What is the difference between length and length() method in java?