public class Singleton{ spa
pirvate Singleton(){} get
private static class LazyHolder{ class
private static final Singleton singletonInstance = new Singleton(); static
} let
public static Singleton getInstance(){ new
return LazyHolder.singletonInstance; return
}
}