Intermediate Kotlin
Q83 / 100

What does the Kotlin by lazy(LazyThreadSafetyMode.NONE) do?

Correct! Well done.

Incorrect.

The correct answer is B) Skips thread-safety guarantees for maximum performance in single-threaded contexts

B

Correct Answer

Skips thread-safety guarantees for maximum performance in single-threaded contexts

Explanation

LazyThreadSafetyMode.NONE removes synchronization overhead. Use when you are certain the property will only be accessed from one thread.

Progress
83/100