DEVFYI - Developer Resource - FYI

What is synchronization and why is it important?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

373. What is synchronization and why is it important?

With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

(Continued on next question...)

Other Interview Questions