📄 excep7.java
字号:
public class Excep7{
static void go() throws NegativeArraySizeException{
int[] a=new int[-1];
}
static void hi() throws NegativeArraySizeException{
go();
}
public static void main(String[] args){
try{
hi();
}catch(NegativeArraySizeException e){
System.out.println("钢府辑 朝扼 吭匙..");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -