Match the thread safety modes to their descriptions.
Computer scienceProgramming languagesKotlinObject-oriented programmingSpecial constructions / Special classes
Lazy initialization
Synchronization
Report a typo
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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.