dimanche 15 avril 2018

What is the difference between Enum and a SinglTone class

I found few of the difference between Enum and Singletone class but not fully convinced whether ENum can be used in place of Singletone or not.

And if it can be used then what is the need of defining singleton class?

Aucun commentaire:

Enregistrer un commentaire