上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: super不是对象的引用,只是一个指示编译器调用超类方法的特殊关键字 使用super调用构造函数的语句必须是子类构造函数的第一条语句 (e在Employee数组的for each循环中)多态和动态绑定 is-a,替换法则,里氏法则 可能staff[i]引用了另一个不是manager的子类,这样就乱套 阅读全文
posted @ 2018-11-27 20:19 geeklove 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 包 使用包的作用:确保类名的唯一性没有在源文件中放置package语句,则这个源文件中的类就被放置在默认包中。默认包没有名字 权限控制:默认的类,方法或者变量可以被同一个包中的所有方法访问 由于类中的变量在不加权限的情况下可以被包中的其他类看见,所以必须显式地添加private (这地方可使用通配符 阅读全文
posted @ 2018-11-27 10:01 geeklove 阅读(158) 评论(0) 推荐(0) 编辑
摘要: array 阅读全文
posted @ 2018-11-26 09:54 geeklove 阅读(277) 评论(0) 推荐(0) 编辑
摘要: public class Test{ public static void main(String[] args) { System.out.println("I am testing"); //how to use substring api String s = "abcde"; System.out.... 阅读全文
posted @ 2018-11-25 20:59 geeklove 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Introduction Under some circumstances, it is useful for a client or server to become aware of the termination or loss of connection with its peer. In 阅读全文
posted @ 2018-10-11 00:02 geeklove 阅读(346) 评论(0) 推荐(0) 编辑
摘要: Standard TCP When fast retransmit is invoked because of receipt of a third duplicate ACK (or other signal, if conventional fast retransmit initiation 阅读全文
posted @ 2018-10-10 18:22 geeklove 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Slow Start The slow start algorithm is executed when a new TCP connection is created or when a loss has been detected due to a retransmission timeout 阅读全文
posted @ 2018-10-10 12:55 geeklove 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Introduction Congestion control is a set of behaviors determined by algorithms that each TCP implements in an attempt to prevent the network from bein 阅读全文
posted @ 2018-10-09 13:56 geeklove 阅读(385) 评论(0) 推荐(0) 编辑
摘要: Urgent Mechanism Difference between push and urgent flags in TCP https://stackoverflow.com/questions/9153566/difference-between-push-and-urgent-flags- 阅读全文
posted @ 2018-10-08 13:11 geeklove 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Example We create a TCP connection and cause the receiving process to pause before consuming data from the network. This arranges for the receiver to 阅读全文
posted @ 2018-10-08 10:08 geeklove 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页