📄 counter.java
字号:
package grocerystore;
public interface Counter {
// following attributes are public, static, and final, implicitly
double VAT = 0.2;
// following methods are public and abstract, implicitly
void read(String code, int pieces) throws NoSuchProduct;
void print();
void close();
double total();
double gross();
double taxes();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -