![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java基础
Roedeer
这个作者很懒,什么都没留下…
展开
-
Java的finally块执行分析
一、finally执行一些资源关闭class Wolf implements Serializable{ private String name; public Wolf(String name) { System.out.println("调用有参数的构造器"); this.name = name; } public boo翻译 2017-09-17 21:16:42 · 362 阅读 · 0 评论 -
Java不使用第三个变量交换两个变量的数据
/** * 变量:存储数据的空间 * 数据:文字和符号的表示 * 数据的分类: * 数字:byte short int long float double * 非数字:char boolean * * @author siggy * */public class VarDemo { public static void main(String[] args) {原创 2017-09-18 23:34:23 · 778 阅读 · 0 评论