We're sorry but rendepage doesn't work properly without JavaScript enabled. Please enable it to continue.
代码实现模板方法模式
千锋教育
1. 先定义一个模板。把模板中的点菜和付款,让子类来实现。
2. 具体的模板方法子类 1
3. 具体的模板方法子类 2
4. 客户端测试