摘要:
类与对象理型论(theory of Forms,或theory of Ideas)柏拉图认为,人类感官可见的事物,并不是真实,只是一种表相,它是完美理型的一种投射。class 抽象理型 object 具体事物创建:class apple extends fruit{ apple() { super(); //调用fruit构造函数 }}构造函数1.创建自己 2.调用父类构造函数代码块、静态代码块class fu //1.父类优先子类加载{ static //2. static与class同时加载。 第一个输出 { ... 阅读全文
posted @ 2012-04-01 11:05
微明
阅读(282)
评论(0)
推荐(0)

浙公网安备 33010602011771号