Compile abnormal and abnormal operation of difference

Compile and run abnormal abnormal difference:

编译期异常:	java程序必须显示处理,否则程序就会发生错误,无法通过编译。
运行期异常:无需显示处理,也可以和编译时异常一样处理
He published 188 original articles · won praise 10 · views 10000 +

Guess you like

Origin blog.csdn.net/Ting1king/article/details/104822628