public static void main(String[] args) {
        // Ů洵һˣʣ㣬㣬ȱݲƷ
        System.out.println("------------ĵһģ-----------------");
        Human whiteHuman = HumanFactory.createHuman(WhiteHuman.class);
        whiteHuman.cry();
        whiteHuman.laugh();
        whiteHuman.talk();

        // Ů洵ڶˣ㣬Ȼֳ˸Ʒ
        System.out.println("\n------------ĵڶģ-----------------");
        Human blackHuman = HumanFactory.createHuman(BlackHuman.class);
        blackHuman.cry();
        blackHuman.laugh();
        blackHuman.talk();

        // ˣλյãɫࣨдˣ壩עRB˲ڴ
        System.out.println("\n------------ĵģɫ-----------------");
        Human yellowHuman = HumanFactory.createHuman(YellowHuman.class);
        yellowHuman.cry();
        yellowHuman.laugh();
        yellowHuman.talk();

        // Ů洷ˣɶɶ࣬հ
        for (int i = 0; i < 10; i++) {
            System.out.println("\n\n-----------------------------" + i);
            Human human = HumanFactory.createHuman();
            human.cry();
            human.laugh();
            human.talk();
        }
    }