level 9
4、调用下面的方法,得到的返回值是什么?
1. public int getNum() {
2. try {
3. int a = 1 / 0;
4. return 1;
5. } catch (Exception e) {
6. return 2;
7. } finally {
8. return 3;
9. }
10.}
5、Java 异常处理机制的理解?
6、说出最常见的5个RuntimeException?
7、throw 和 throws 的区别?
2021年09月15日 09点09分