异常分为checked(编译器check) 和 unchecked exception
checked 编译器强制要求try catch finally
checked 是exception 中除runtime exception 以外的类和子类, 用try catch finally 或者throws 申明让调用函数处理
unchecked 是runtime exception , 用 throw e;
异常分为checked(编译器check) 和 unchecked exception
checked 编译器强制要求try catch finally
checked 是exception 中除runtime exception 以外的类和子类, 用try catch finally 或者throws 申明让调用函数处理
unchecked 是runtime exception , 用 throw e;
1万+
758

被折叠的 条评论
为什么被折叠?