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