Discussion on:

Message 10 of 10
0 Votes
+ -
Singleton Enum
Hi ,

There could be another solution if Singleton is written in JAVA by using Enum way as explained in book "Effective Java".

public enum Singleton {
INSTANCE;
}

Thanks
Javin
Why String is immutable in Java
Posted by javabuddy
16th Feb 2011