- package com.company.section2;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- * 产品A的实现类
- */
- public class ProductB1 extends AbstractProductB {
- @Override
- public void doSomething() {
- System.out.println("产品B1的实现方法");
- }
- }