Sollicitatievraag bij Ericsson

How to create a singleton class in Java ?

Antwoord op sollicitatievraag

Anoniem

25 jun 2021

Related to Design Patterns, we can find the solution on the internet (don't forget to create a synchronized constructor to avoid multiple access by multiple threads in the meantime).