摘要: http://www.cnblogs.com/hellokitty1/p/4491808.html 1、main方法是怎么写的 public static void main(String [] args){}//最习惯的 public static void main(String args[]) 阅读全文
posted @ 2016-10-09 08:50 alloevil 阅读(6051) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4489213.html 宠物有狗和企鹅。 狗的属性有:编号、名称、亲密值、健康值、品种、所属主人编号。 企鹅的属性有:编号、名称、亲密值、健康值、性别、所属主人编号。 该系统中主人可以领养宠物,主人的属性有:编号、用户名、密 阅读全文
posted @ 2016-10-08 17:54 alloevil 阅读(4857) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4483287.html Eclipse 常用快捷键 Eclipse的编辑功能非常强大,掌握了Eclipse快捷键功能,能够大大提高开发效率。Eclipse中有如下一些和编辑相关的快捷键。 1. 【ALT+/】 此快捷键为用户 阅读全文
posted @ 2016-10-08 17:52 alloevil 阅读(52342) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4474143.html 一:OSI模型 Open System Interconnection 开放系统互联 二:TCP/IP分层模型 TCP代表传输控制协议:Transfer Control Protocol 允许两个程序 阅读全文
posted @ 2016-10-08 17:50 alloevil 阅读(252) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4473952.html 数据流: DataInputStream,DataOutputStream。可以用于与计算机无关的格式读写java的基本数据类型以及String对象 对象流: ObjectInputStream,Ob 阅读全文
posted @ 2016-10-08 17:43 alloevil 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4456305.html java I/O系统 I:Input 输入 O:Output 输出 二:流的分类 按照方向:输入流 输出流 按照最小单位:字节流 (byte) 字符流 (char) 三: 所有的I/O系统操作都由以下 阅读全文
posted @ 2016-10-08 17:32 alloevil 阅读(156) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4456169.html 一:线程的创建 1:编写一个继承Thread类的类,然后在后面重写Thread类的run()方法。 步骤 a 创建一个继承Thread的类 b在创建的Thread子类中重写run()方法 c 创建Th 阅读全文
posted @ 2016-10-08 17:31 alloevil 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4440286.html 一:集合框架 集合框架是为表示和操作集合而规定的一种统一的标准的体系结构。 任何集合框架都包含三大块内容:对外的接口、接口的实现和对集合运算的算法。 接口:即表示集合的抽象数据类型。Collectio 阅读全文
posted @ 2016-10-08 17:30 alloevil 阅读(190) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hellokitty1/p/4436293.html 1 :分类 检查异常(checked,受检) 运行异常(unchecked) 2:捕获异常 try/catch try/catch/finally try/finally try{ //受保护的代码 阅读全文
posted @ 2016-10-08 17:29 alloevil 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 转载:http://www.cnblogs.com/hellokitty1/p/4436396.html 一: 反射的定义:在运行期载入,探知和使用编译期完全未知的类。 1 查看类信息 反射机制里一个特点就是实例化Class对象,因为任意一个类对象都是Class的实例...那么如何实例化Class对 阅读全文
posted @ 2016-10-08 17:25 alloevil 阅读(120) 评论(0) 推荐(0) 编辑