📄 test44.java~
字号:
interface Inter{
}
class First implements Inter {
public Inter method1() {
System.out.println("Super");
return new First();
}
}
class Second extends First {
public First method1() {
System.out.println("sub");
return new Second();
}
}
class Test44 {
public static void main(String[] args) {
First first = new Second();
Inter first1 = first.method1();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -