Java Programming and Technical

Q. What is synchronization?


A. Synchronization is the mechanism that ensures that only one thread is accessed the resources at a time.

Read Solution (Total 0)

Java Other Question

Q. What are the states associated in the thread?

A. Thread contains ready, running, waiting and dead states.
Q. What is deadlock?

A. When two threads are waiting each other and can't precede the program is said to be deadlock.