📄 myabstractclass.java
字号:
public abstract class MyAbstractClass implements Ordered
{
int number;
char grade;
public boolean precedes(Object other)
{
if (other == null)
return false;
else if (!(other instanceof HourlyEmployee))
return false;
else
{
MyAbstractClass otherOfMyAbstractClass =
(MyAbstractClass)other;
return (this.number < otherOfMyAbstractClass.number);
}
}
public abstract boolean follows(Object other);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -