?? 6_02_030421217.java
字號:
class First
{
static void F() throws NoSuchMethodException
{
try{
throw new NoSuchMethodException();
}
catch(NoSuchMethodException e)
{
System.out.println(e.toString());
}
}
}
class Second extends First
{
static void S() throws NoSuchMethodException
{
F();
}
}
class Third extends Second
{
static void T() throws NoSuchMethodException
{
S();
}
}
public class Exer6_2 extends Third
{
private Exer6_2(){}
public static void main(String[] args)
{
Exer6_2 NoSuchMethod=new Exer6_2();
try{
NoSuchMethod.T();
}
catch(Exception e){}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -