Synchronization

Report a typo

Match the thread safety modes to their descriptions.

Match the items from left and right columns
LazyThreadSafetyMode.PUBLICATION
LazyThreadSafetyMode.SYNCHRONIZED
LazyThreadSafetyMode.NONE
the value returned first will be used
value will be calculated only in one thread, the other threads will get the same value
we cannot guarantee what value the variable will have
___

Create a free account to access the full topic