http://www.cppblog.com/sleepwom/archive/2010/07/08/119746.html一、X.509数字证书的编码X.509证书的结构是用ASN1(Abstract
Syntax Notation One)进行描述数据结构,并使用ASN1语法进行编码。ASN1采...
分类:
其他好文 时间:
2014-05-27 02:51:56
阅读次数:
335
生成子类的过程见代码:class Person { String name; int age;
Person(){ System.out.print("Person的无参数构造函数"); } Person(String name,int age){ ...
分类:
移动开发 时间:
2014-05-27 02:43:41
阅读次数:
226
1. 对象的向上转型2. 对象的向下转型本节学语法, 应用在以后 !!!1. 对象的向上转型
实例:电脑(父类) 笔记本电脑(子类) -- 我正在使用的笔记本电脑(子类的对象) 我正在使用的笔记本电脑 是 电脑 (将子类对象赋值给父类的引用)
代码:Student 是 Person 的子类 ...
分类:
其他好文 时间:
2014-05-27 00:45:16
阅读次数:
283
You Should Fall In Love With Someone Who
InspiresYouFEB. 5, 2014BySTEPHANIE ALTHOFThere’s one trait that I continuously
find myself coming back to whe...
分类:
其他好文 时间:
2014-05-24 07:45:20
阅读次数:
264
抽象函数的语法特征抽象类的语法特征抽象类的作用抽象类就是用来被继承的1、什么是抽象函数只有函数的定义,没有函数体的函数被称为抽象函数;abstract
void fun();2、什么是抽象类(一般称为基类)abstract class Person{}使用abstract定义的类被称之为抽象类;(1...
分类:
移动开发 时间:
2014-05-24 07:42:10
阅读次数:
301
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1083题意差不多是这样,给你n条线的长度,让你染色,每次只能染2个长度单位,让你先染,问是否能赢的胜利其实这题和取石子的那题(ECNU
1328 Stripes)差不多,...
State.javapackage edu.state;public abstract class
State { public abstract void doSomething(Person person);}LState.javapackage
edu.state;public clas...
分类:
其他好文 时间:
2014-05-19 16:20:20
阅读次数:
272
About Self-Signed Certificates
自签证书。一个SSL证书,是加密网站的信息,并创建更安全的链接的一种方式。附加地,证书可以给网站浏览者显示VPS的的身份证明信息。如果一个SSC没有第三方证实,那么证书作者可以发行SSL证书,用以验证虚拟服务器的细节。
Step One-...
分类:
其他好文 时间:
2014-05-19 15:53:09
阅读次数:
262
Jump Game IGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents ...
分类:
其他好文 时间:
2014-05-19 15:16:57
阅读次数:
373
DescriptionIn order to get from one of the F (1
2 and 1 –> 6 –> 5 –> 21 – 4: 1 –> 2 –> 3 –> 4 and 1 –> 6
–> 5 –> 43 – 7: 3 –> 4 –> 7 and 3 –> 2 –> 5 ....
分类:
其他好文 时间:
2014-05-19 12:43:06
阅读次数:
200