+ 2
Synchronization context comes into picture generally when you are running multiple threads in a program. Only one thread has access to the shared resources till a thread dependent method execution is completed. "Synchronized" keyword is used in java to achieve the same.
18th Dec 2019, 2:39 PM
Avinesh - avatar