- package com.company.section4;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class Clothes extends Product {
- public void beProducted() {
- System.out.println("生产出的衣服是这个样子的...");
- }
- public void beSelled() {
- System.out.println("生产出的衣服卖出去了...");
- }
- }