001package headfirst.singleton.subclass;
002
003public class SingletonTestDrive {
004        @SuppressWarnings("static-access")
005        public static void main(String[] args) {
006                Singleton foo = CoolerSingleton.getInstance();
007                Singleton bar = HotterSingleton.getInstance();
008                System.out.println(foo);
009                System.out.println(bar);
010        }
011}