What about interthread communication and how it takes place in java?
Answer / Rakesh Kumar Rajak
Interthread communication is important for coordinating activities between threads in Java. This can be achieved using various mechanisms such as wait(), notify(), and notifyAll() methods, which are part of the Object class and operate on an object's monitor; synchronized blocks, which allow only one thread to execute a critical section of code at a time; and atomic variables, which provide a way to manipulate variables in a thread-safe manner without synchronization.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to handle http request in struts
Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages
Why do we use regex?
What are 5 boolean operators?
What is constructor chaining and how is it achieved in java?
What is the main method java?
What does a method signature consist of?
what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!
7 Answers emc2, Kumaran Systems,
what do you mean by stream pipelining in java 8? Explain
What is the use of default method in interface in java?
What do you mean by inner class in java?
Can we convert integer to string in java?