-
介绍计算机端口,包含常用计算机端口的说明
介绍计算机端口,包含常用计算机端口的说明
-Introduction of computer ports, computer port that contains commonly used description of
- 2022-02-15 06:18:24下载
- 积分:1
-
类似雷电一样的疯狂射击游戏,游戏不大,很好玩,源码编写的时候比较早,因此对C++初学者比较有帮助,想研究的下载研究一番。...
类似雷电一样的疯狂射击游戏,游戏不大,很好玩,源码编写的时候比较早,因此对C++初学者比较有帮助,想研究的下载研究一番。 -Like thunder and lightning like crazy shooting game, the game is not very fun, source code written in earlier times, so the C++ for beginners more helpful, would like to download the study of study.
- 2022-02-25 01:23:09下载
- 积分:1
-
Implementation of this procedure on a sports car on the screen, the background f...
本程序实现一辆汽车在屏幕上运动,背景为森林.-Implementation of this procedure on a sports car on the screen, the background for the forest.
- 2022-05-16 11:01:07下载
- 积分:1
-
AD single
AD系列单片机控制的A/D转换器,并把结果在液晶显示出来-AD single-chip A/D converters, and the results are displayed in the LCD
- 2023-05-29 10:10:04下载
- 积分:1
-
用VC6扩展CButton类制作风格独特的按钮
用VC6扩展CButton类制作风格独特的按钮-with VC6 expansion CButton category produced a unique style button
- 2022-03-24 03:02:23下载
- 积分:1
-
基于evc下的控件编程,介绍了list控件的重绘 ,有很好的参考价值...
基于evc下的控件编程,介绍了list控件的重绘 ,有很好的参考价值-EVC-based programming under control, introduce a list redraw controls, has a very good reference value
- 2022-01-26 05:06:03下载
- 积分:1
-
数电中通过软件模拟实现脉搏测试仪的实现,完整的实验报告,有设计过程和结果...
数电中通过软件模拟实现脉搏测试仪的实现,完整的实验报告,有设计过程和结果-Number of electric pulse through the implementation of software tester Analog implementation of a complete test report, there is the design process and results
- 2023-07-18 00:35:04下载
- 积分:1
-
锁住键盘和鼠标的源码例子
锁住键盘和鼠标的源码例子-can lock the keyboard and mouse source code examples
- 2022-04-29 09:41:48下载
- 积分:1
-
labsql其他几个模块 ,这样就全了,杨乐平所编著的书中的,附带光盘中的所有的程序,...
labsql其他几个模块 ,这样就全了,杨乐平所编著的书中的,附带光盘中的所有的程序,-labsql several other modules, so that the whole, Yang Gill has edited the book, CD-ROM with all the procedures,
- 2022-06-02 06:13:42下载
- 积分: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