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. Read More...
A transient variable is a variable that may not be serialized. If you don’t want some field to be serialized, you can mark that field transient or static. Read More...