📄 ex070104.java
字号:
class Test{
public void trythis(){
try{
System.out.println("1");
problem();
}catch(RuntimeException x){
System.out.println("2");
return;
}catch(Exception x){
System.out.println("3");
return;
}finally{
System.out.println("4");
}
System.out.println("5");
}
void problem() throws Exception{
throw new Exception();
}
public static void main(String[] args){
(new Test()).trythis();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -