package com.yujian.pattern.decorate;

/**
 * @author yujianjian
 * @CreateTime 2017-03-29 上午8:36
 * @Description Father.java
 */
public class Father {

  public static void main(String[] args) {
    SchoolReport sr;
    sr = new FouthGradeSchoolReport();

    sr = new HignScoreDecorator(sr);

    sr = new SortDecorator(sr);

    sr.report();

    sr.sign("老三");
  }
}
