1 继承1.1 基类与派生类C#中的类不支持多继承。只有在类和接口之间可以实现多继承。 public static void Main() { Business c1 = new Business(); c1.Name = "李...
分类:
其他好文 时间:
2014-11-29 00:03:15
阅读次数:
270
/* 总结 1.只有利用类名调用类方法的时候,不需要在类名后面写*。其他情况下,类名后面统一加上一个* Circle *c1 = [Circle new]; - (BOOL)isInteractWithOther:(Circle *)other; 2.返回值是BOOL类型的方法,方法名一般都以is....
分类:
其他好文 时间:
2014-11-28 18:06:23
阅读次数:
179
实验拓扑:使用ENSP模拟器(版本V100R002C001.2.00.350)实验要求:1.在华为设备上配置标准ACL实现vlan10主机不能和vlan20主机互访,但可以正常上网。2.在华为设备上配置扩展ACL实现vlan10主机不能和vlan20主机互访,但可以正常上网;vlan10中C2需要和vlan20中C3通信,vlan10中C1..
分类:
其他好文 时间:
2014-11-27 18:48:29
阅读次数:
249
页面定制css代码/*去广告*/#google_ad_c1,#div-gpt-ad-1320933818841-0,#google_ad_c2,#div-gpt-ad-1320933818841-1,#ad_under_google ,#opt_under_post,#ad_under_post_h...
分类:
其他好文 时间:
2014-11-27 00:03:07
阅读次数:
315
Panic log:[ 939.136378] c0 11060 (kworker/u8:5) binder: release 29969:29969 transaction 41327 out, still active[ 951.095433] c1 1026 (Binder_6) bind.....
分类:
其他好文 时间:
2014-11-26 15:45:08
阅读次数:
599
先看一个fork的例子:int glob = 4;int main(void) { int var, pid; var = 88; if ((pid = fork()) B1 --> C1|--> B2可见,B1、B2继承自A,而C1继承自B1。1、B1是在i=0时复制A的,此...
分类:
其他好文 时间:
2014-11-26 14:10:20
阅读次数:
179