2011年6月9日

【笔记】Eclipse and Java for Total Beginners—004

摘要: Lesson 04 – JUnit Testing in Eclipse, Part 1Create test source folderCreate Person Test classRun first JUnit test1. Scrapbook的优/缺点Great for exploring new Java classes and trying commmands.Does not let you automate testing2. Unit Testing的特点Automated testing of all methodsVery valuable when making cha 阅读全文

posted @ 2011-06-09 17:45 yf.x 阅读(357) 评论(0) 推荐(0)

【笔记】Eclipse and Java for Total Beginners—003

摘要: Lesson 03 – Use Eclipse ScrapbookIntroduce Eclipse ScrapbookIntroduce Java expressions, statementsDiscuss Java packagesCreate Person Object in Scrapbook1. 打开Scrapbook RC project / New / other / Java / Java Run/Debug / Scrapbook.page / Next / MyScrapbook (name) / Finish.2. Scrapbook的作用 Scrapbook allo 阅读全文

posted @ 2011-06-09 15:36 yf.x 阅读(257) 评论(0) 推荐(0)

【笔记】Eclipse and Java for Total Beginners—002

摘要: Lesson 02 – Add Methods To ClassIntroduce Eclipse Views and PerspectivesIntroduce Eclipse user interface – drag / drop, cnntext menus, helpAdd get and set methods to Person class1. 自动提示或补充标识符。 英文版的系统用Ctrl+Space, 中文版的系统用Alt+/。2. Parameters and Fields.3. this this = the current object4. Class members 阅读全文

posted @ 2011-06-09 14:51 yf.x 阅读(268) 评论(0) 推荐(0)

【笔记】Eclipse and Java for Total Beginners—001

摘要: 偶然搜到Mark Dexter的这个免费视频(http://eclipsetutorial.sourceforge.net/totalbeginner.html)。够傻瓜,够直观。慢慢习之。Lesson 01 – Create Your First Java ClassCreate Java project in EclipseCreate Java package Introduce classes and objects, naming conventionsWrite a simple Java class (Person)Create Java project in Eclipse . 阅读全文

posted @ 2011-06-09 10:57 yf.x 阅读(389) 评论(0) 推荐(0)

导航