LetterProcessImpl.java
上传用户:hensond
上传日期:2021-12-27
资源大小:817k
文件大小:1k
- package com.company.section3;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class LetterProcessImpl implements ILetterProcess {
- //写信
- public void writeContext(String context) {
- System.out.println("填写信的内容...." + context);
- }
- //在信封上填写必要的信息
- public void fillEnvelope(String address) {
- System.out.println("填写收件人地址及姓名...." + address);
- }
- //把信放到信封中,并封好
- public void letterInotoEnvelope() {
- System.out.println("把信放到信封中....");
- }
- //塞到邮箱中,邮递
- public void sendLetter() {
- System.out.println("邮递信件...");
- }
- }