Sollicitatievraag bij NSEIT

How can you let this Singleton class getInstance() method be called from multiple threads?

Antwoord op sollicitatievraag

Anoniem

23 aug 2022

By marking the method with synchronized keyword.