摘要: 1 package cn.temptation; 2 3 import java.net.InetAddress; 4 5 public class Sample01 { 6 public static void main(String[] args) throws Exception { 7 /* 8 * OSI模型:Open Sy... 阅读全文
posted @ 2018-08-09 18:48 {name:"代码屠夫"} 阅读(250) 评论(0) 推荐(1) 编辑
摘要: 1 package cn.temptation; 2 3 public class Sample01 { 4 public static void main(String[] args) { 5 // 需求:继承关系中爷爷类、父类、子类,现在父类行为有了增强,如何不影响子类? 6 // 思路:首先考虑让父类实现增强能力的接口,但是这样做,会让... 阅读全文
posted @ 2018-08-09 18:45 {name:"代码屠夫"} 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.temptation; 2 3 public class Sample01 { 4 public static void main(String[] args) { 5 /* 6 * 【进程】:正在运行的程序,系统进行资源分配和调用的独立单位 7 * 每一个进程有自己的内存空间和... 阅读全文
posted @ 2018-08-09 18:31 {name:"代码屠夫"} 阅读(447) 评论(0) 推荐(0) 编辑