没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
目标 知道什么是异常(Exception),如何处理异常 能够区分checked exception和 runtime exception 会使用 try-catch-finally 处理异常 方法声明异常 抛出异常 自定义异常类 语法错误, 运行期错误, 逻辑错误 语法错误: 没有遵循语法规则导致的错误。 运行期错误: 程序运行时,运行环境发现一个不可能执行的操作。 逻辑错误: 程序没有按照预期的方案执行。 异常(Exception) The term exception is shorthand for the phrase "exceptional event." An exception is an event that disrupts the normal flow of instructions during the execution of a program. 异常是在程序执行过程中,中断了正常指令流程的事件。 异常(Exception) When an error occurs within a method, the method creates an obje
资源推荐
资源评论
资源评论
知识世界
- 粉丝: 354
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功