📄 utility.java
字号:
package s2Java.sg.ch03.homework;
public interface Utility {
//private int MAX_SIZE = 20;
int MIN_SIZE = 10;
// void use(){
// System.out.println("using it");
// }
// private int getSize();
// void setSize(int i);
}
class FourWheeler implements Utility{}
class Car extends FourWheeler{}
class Truck extends FourWheeler{}
class Bus extends FourWheeler{}
class Phone implements Utility {
void use(){
System.out.println("using phone");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -