Which of the following is the correct way to implement a thread-safe singleton pattern using the "initialization-on-demand holder" technique?
Thread-safe singleton
On-demand initialization
Report a typo
Select one option from the list
___
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.