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