摘要: Use the following method printPrimes() for question a-d below (a) Draw the control flow grah for the printPrimes() method. (b) Consider test cases t1 阅读全文
posted @ 2016-03-29 23:51 薛成韵 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 1. Install junit a) Download “junit.jar” b) In eclipse, Windows->Preferences->Java->Build Path->Classpath variables->New, add "junit.jar" file. 2. Ins 阅读全文
posted @ 2016-03-18 15:16 薛成韵 阅读(295) 评论(0) 推荐(0) 编辑
摘要: Below are four faulty programs. Each includes a test case that results in failure. Answer the following questions about each progrma. (a) Indentify th 阅读全文
posted @ 2016-03-06 17:42 薛成韵 阅读(2717) 评论(0) 推荐(0) 编辑
摘要: 这是一次莫名其妙的错误,不太具有学习价值,但印象深刻,说出来吐槽吐槽。可能其中有更深的错误,但是我没有了解到。 在一次javaweb大作业中,需要利用session来记录已登录用户的名字,以确定用户的登录状态。也就是说用户在访问特定的网页链接时,若请求中的session没有记录用户的名字,页面将会跳 阅读全文
posted @ 2016-03-06 14:40 薛成韵 阅读(248) 评论(0) 推荐(0) 编辑