vendredi 13 juillet 2018

why is there no Enum implementation of Singlton in JDK?

Is there any implementations of singleton in JDK using Enum and if not why? if it is suppose to be the best way to implement singleton

Aucun commentaire:

Enregistrer un commentaire