2. WHY IT IS REQUIRED ???
There are situations when one thread keeps on checking for
some condition repeatedly, once that condition satisfies the
thread moves ahead with its appropriate action. This situation is
known as POLLING.
This is basically a wastage of CPU time which is undesirable so,
to avoid polling, java has an elegant inter thread communication
mechanism.
3. WHAT IS IT ??
•Allowing synchronized threads to communicate
with each other.
•Cooperation is a mechanism in which a thread
is paused running in its critical section and
another thread is allowed to enter (or lock) in
the same critical section to be executed.