abs.java
来自「java装饰模式。通过装饰完成对上层类的封装。」· Java 代码 · 共 14 行
JAVA
14 行
import java.io.*;
/**
this is the system about sell something
the author is dupeng.
all right reserved
*/
/*
this is the abstract class,he has only two methods.
*/
public abstract class abs
{
public abstract double getFinalCost();
public abstract void display();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?