I was doing some research about singletons, specifically regarding lazy vs eager initialization of singletons.
An example of eager initialization:
public
The best way is actually to use the Enum Way:
public enum Singleton { INSTANCE; public void execute (String arg) { //... perform operation here ... } }