-
A simple program that is usually met in the data structures.
简单的算法编程,是我们平时的数据结构中的小程序.-A simple program that is usually met in the data structures.
- 2022-01-22 09:00:54下载
- 积分:1
-
For windows ce driver development Baodian detailed Getting Started guide
针对windowsce驱动程序开发的详细入门指南
- 2022-11-11 13:55:03下载
- 积分:1
-
Info five coding systems, users need to be amended to update Web server address...
五笔编码速查系统,用户需要修改更新Web服务器地址和端口,下载安装文件的配置-Info five coding systems, users need to be amended to update Web server address and port, download and install the configuration file
- 2022-01-22 01:43:44下载
- 积分:1
-
traceroute程序代码
还是有一些小不足,但基本框架在此,大家可以参考参考。有改进,我会更新的~
- 2022-05-22 00:57:50下载
- 积分:1
-
java异常处理
3.8 异常处理
什么是异常
知道Java异常分类
处理异常的两种方式
throw和throws区别
如何创建自定义异常
概念:
在程序中,可能产生程序员没有预料到的各种错误情况,比如打开一个不存在的文件等,在Java中,这种在程序运行时可能出现的错误称为异常。
异常可以把“描述在正常执行过程中做什么事”的代码和“出了问题怎么办”的代码相分离
例子:demo05.ExceptionDemo.java
Java异常分类A:
java.lang.Error,java.lang.Exception
Error(错误):jvm系统内部错误、资源耗尽等严重问题,发生Error时,编程人员无能 为力,只能终止程序,例如内存溢出等。
Exception(异常):因编程错误或偶然的外在因素导致的一般性问题,例如:对负数 开平方根、空指针访问等,当发生Exception 时,编程人员可以做出处理,并做出人性 化响应,比如弹出窗口,显示“请不要输入负数!”。
异常分类B:
检查性异常:编译器必须处理的异常,该类异常通常是Exception类型或其子类(RuntimeException类除外)//运行时异常
SQLException、IOException、ClassNotFoundException
例子:/DemoProject/src/com/hyg/demo08/FileInputStreamDemo.java
非检查性异常:编译器不要求强制处理的异常,RuntimeException类及其所有子类都是非检查性异常。
NullPointerException、ClassCastException
例子:equa
- 2022-02-14 14:02:16下载
- 积分:1
-
解决共享软件过期问题的软件,很好的vb程序.
解决共享软件过期问题的软件,很好的vb程序.-sharing software to solve the problem of obsolete software, good vb procedures.
- 2022-03-21 19:53:36下载
- 积分:1
-
View wince a platform of hardware Information
一个查看wince平台下的各种硬件信息类-View wince a platform of hardware Information
- 2023-08-19 07:50:03下载
- 积分:1
-
renowned Cleveland ergodic process
著名的骑士遍历程序-renowned Cleveland ergodic process
- 2022-01-25 23:37:23下载
- 积分:1
-
得到应用程序的窗口名字
得到应用程序的窗口名字-applications to be a window name
- 2022-03-13 08:45:02下载
- 积分:1
-
read ie query string
read ie query string
- 2022-03-31 01:35:22下载
- 积分:1