12 2015 档案

摘要:The trick is to use the classes without soiling the existing code. 1. composition--simply create objects of your existing class inside the new class.... 阅读全文
posted @ 2015-12-31 23:42 nicke 阅读(273) 评论(0) 推荐(0)
摘要:Access control ( or implementation hiding) is about "not getting it right the first time."refactoringa primary consideration in object-oriented design... 阅读全文
posted @ 2015-12-29 22:55 nicke 阅读(437) 评论(0) 推荐(0)
摘要:Two of these safety issues are initialization and cleanup. initialization -> bug cleanup -> running out of resources (most notably, memory) Java ... 阅读全文
posted @ 2015-12-26 22:56 nicke 阅读(369) 评论(0) 推荐(0)
摘要:dataType的值不能为"", 否则会导致错误发生:Uncaught TypeError: Cannot read property '0' of null,http请求可以发送,但是callback不能触发 阅读全文
posted @ 2015-12-17 12:00 nicke 阅读(316) 评论(0) 推荐(0)
摘要:In Java, the keywords include if-else,while,do-while,for,return,break, and a selection statement called switch. Java does not support the much-mali... 阅读全文
posted @ 2015-12-15 23:07 nicke 阅读(264) 评论(0) 推荐(0)
摘要:At the lowest level, data in Java is manipulated using operatorsUsing Java Operators An operator takes one or more argument and produces a new valu... 阅读全文
posted @ 2015-12-14 23:04 nicke 阅读(579) 评论(0) 推荐(0)
摘要:---恢复内容开始--- Both C++ and Java are hybird languages. A hybird language allow multiple programming styles The reason C++ is hybird is to support b... 阅读全文
posted @ 2015-12-11 13:05 nicke 阅读(699) 评论(0) 推荐(0)
摘要:安装JDK时,自动将java.exe复制到C:\Windows\System32下 阅读全文
posted @ 2015-12-10 17:20 nicke 阅读(376) 评论(0) 推荐(0)
摘要:1. 启动时报:SYSTEM ERROR: Wrong dbkey in block. Found 0, should be 6342528 in area 36. (439) ** Save file named core for analysis by Progress Softwar... 阅读全文
posted @ 2015-12-07 15:02 nicke 阅读(931) 评论(0) 推荐(0)
摘要:The genesis of the computer revolution was a machine. The genesis of out programming languages thus tends to look like that machine.计算机革命起源于机器,因此编程语言的... 阅读全文
posted @ 2015-12-02 23:41 nicke 阅读(316) 评论(0) 推荐(0)