1.

How Do I Prevent Deserialization Process Creating Another Instance Of Singleton Class?

Answer»

USE READRESOLVE method to return the same INSTANCE of a class, RATHER than creating a NEW instance.

Use readResolve method to return the same instance of a class, rather than creating a new instance.



Discussion

No Comment Found