摘要: Use the following method printPrimes() for questions a–d. The meaning of these nodes are: 1: int curPrime; 2: int numPrimes; 3: curPrime++; boolean is 阅读全文
posted @ 2017-03-12 16:47 a_bird 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 安装junit,hamcrest和eclemma的简短描述。 1) 安装junit,hamcrest 在官方网站下载junit-4.12.jar、hamcrest-library-1.3.rc2.jar、hamcrest-core-1.3.rc2.jar; 将三个jar包放到C:\Program F 阅读全文
posted @ 2017-03-10 16:27 a_bird 阅读(275) 评论(0) 推荐(0) 编辑
摘要: Below are two faulty programs. Each includes a test case that results in failure.Answer the following questions (in the next slide) about each program 阅读全文
posted @ 2017-02-25 15:25 a_bird 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 上学期我们写一个项目TodoList。由于刚刚学完相关知识,对该知识不太熟练,我就打算先尝试然后再写代码,尝试的时候我用的变量名都是随机取的,一般是怎么简单怎么来,于是乎到了真正写代码的时候我要先去掉或修改以前随机取的变量,这是我的习惯但经过这件事后我才发现这是个坏习惯。刚开始写这个程序还算一帆风顺 阅读全文
posted @ 2017-02-25 12:01 a_bird 阅读(98) 评论(0) 推荐(0) 编辑