G
Guest
Hi,
How would I make a class implementing a Singleton Pattern serializable.
My problem is the Singleton Pattern 'requires' the constructor to be Private
and serialization requires the constructor to be Public.
Thanks,
Michael
How would I make a class implementing a Singleton Pattern serializable.
My problem is the Singleton Pattern 'requires' the constructor to be Private
and serialization requires the constructor to be Public.
Thanks,
Michael