The basic example for one class singleton in java, when you only need a one instance.