Advanced Java Tutorial

Total available pages count: 55
Subject - Java Technologies


Synchronization is the paradigm to control the access of multiple threads to any shared resources. It has a better option if it allows only one thread to access the shared resources.

It is mainly used to preserve the thread interference & maintain the consistency problem. The below are the two types of synchronization in java,

  • process-based synchronization
  • thread-based synchronization