-
1。一个简单的程序,可以直接查询到主机的地址和主机的地址,并且可以直接…
1.一个简单的程序可以直接查询自己主机的IP地址和www服务器的IP地址
2.使用输入框填写行列值,输出矩阵表
-1. A simple procedure can direct their inquiries to the host IP address and the www server IP addresses 2. use input box to fill in the ranks of value, the output matrix
- 2022-02-11 13:24:49下载
- 积分:1
-
a screen
一个基于 BIOS 的屏幕开发的 C 语言源程,有点意思,欢迎大家快乐共享-a screen-based BIOS development of C language source way, a little bit mean, we are happy to share happiness! !
- 2023-06-22 00:25:03下载
- 积分:1
-
本人使用WIN2000,一直以为开着系统服务 Windows Time 就能自动实现系统对时。 哪知道前两天一对时,发现快了1分钟,天,我上下班打卡可是直接与经...
本人使用WIN2000,一直以为开着系统服务 Windows Time 就能自动实现系统对时。 哪知道前两天一对时,发现快了1分钟,天,我上下班打卡可是直接与经济利益挂钩的。真不知道这玩意是不是仅用来浪费系统资源的。 一气之下,自己花点时间写了个对时程序,嗯,不错,挺好用,这下安心了,另外,那个对时的垃圾服务也可以关掉了。-Oneself usage WIN2000, has been thinking to open the system service Windows Time and then can realizes automatically system to hour. Which know a rightness of the first two days, discover quick a minute, day, I top and bottom the class beats the card but direct and economic benefits hook of.Really do not know that does this trifle is only use to the wasted system resources of. In a pet, oneself the flower orders time wrote a garbage for to timing preface, H m, quite goodly, quite goodly using, this bottom having peace of mind, moreover, that to hour service and can also turn o
- 2022-03-26 15:25:57下载
- 积分: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
-
sleepcat 百克力数据库
sleepcat 百克力数据库-sleepcat 100 Caledon database
- 2022-05-15 17:08:29下载
- 积分:1
-
比 Windows 自带的高级一点的计算器,能将整个表达式输入,然后求值。这个程序要求读者具备编译原理的一些知识
比 Windows 自带的高级一点的计算器,能将整个表达式输入,然后求值。这个程序要求读者具备编译原理的一些知识-than Windows, bringing their senior point calculators, the entire expression input, and then evaluated. This procedure requires the reader has compiled some of the principles of knowledge
- 2022-02-04 00:01:02下载
- 积分:1
-
学习java写的java应用程序
学习java写的java应用程序-learning java write java applications
- 2022-06-20 07:30:47下载
- 积分:1
-
在学习过程中编写的一个画圆的小程序,和大家一起来学习。...
在学习过程中编写的一个画圆的小程序,和大家一起来学习。-In the learning process to prepare a small drawcircle procedures, and everyone will work together to learn.
- 2022-10-03 10:45:03下载
- 积分:1
-
简单的贪吃蛇源代码 可以打包运行在手机上
简单的贪吃蛇源代码 可以打包运行在手机上 -Snake simple source code can be packaged to run on mobile phone at
- 2023-03-11 05:15:04下载
- 积分:1
-
系统开发的一个C++小游戏。全面介绍了VC的开发过程
系统开发的一个C++小游戏。全面介绍了VC的开发过程-System development of a C++ Game. A comprehensive introduction to the development of VC
- 2022-08-05 21:47:07下载
- 积分:1