摘要: unit tests def High-level testing vs. low-level testing: High-level: system function testing, acceptance testing, … Low-level: unit testing and integr 阅读全文
posted @ 2017-12-18 20:59 CaiCongyu 阅读(2791) 评论(0) 推荐(0) 编辑
摘要: Collection classes Types of collection -Collection -Map ArrayList HashMap Iterator Java Arrays Declaring an array int[] myArray; int[] myArray = new i 阅读全文
posted @ 2017-12-18 18:54 CaiCongyu 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Polymorphism Polymorphism: Means many (poly) shapes (morph) In OO programming, it means the ability of an object to take on many forms It is an import 阅读全文
posted @ 2017-12-18 16:56 CaiCongyu 阅读(353) 评论(0) 推荐(0) 编辑
摘要: Errors An Error is any unexpected result obtained from a program during execution. Unhandled errors may manifest themselves as incorrect results or be 阅读全文
posted @ 2017-12-18 12:29 CaiCongyu 阅读(228) 评论(0) 推荐(0) 编辑
摘要: AWT and Swing Abstract Window Toolkit (AWT): Introduced in Java 1.0 Provides classes and other tools for building programs that have a graphical user 阅读全文
posted @ 2017-12-18 00:24 CaiCongyu 阅读(316) 评论(0) 推荐(0) 编辑
摘要: Creating threads in Java Two things to do to create threads in java: (1) Create a task (object) //Creating a task public class TaskClass implements Ru 阅读全文
posted @ 2017-12-16 23:12 CaiCongyu 阅读(256) 评论(0) 推荐(0) 编辑
摘要: A brief review of Database Database (DB): an organised collection of data Relational DBs (first published by Edgar F. Codd (IBM) in 1970) store data i 阅读全文
posted @ 2017-12-16 22:03 CaiCongyu 阅读(1421) 评论(0) 推荐(1) 编辑
摘要: File Overview I/O = Input/Output, here it is input to and output from programs Inputs can be from: Keyboard Files Etc. Output can be: Screen Files Etc 阅读全文
posted @ 2017-12-16 16:48 CaiCongyu 阅读(6142) 评论(0) 推荐(0) 编辑
摘要: OOD的流程: 需求分析——>系统/程序设计——>实现这个设计——>测试 Class Design 1. Identify classes for the system. 2. Describe attributes and methods in each class. 3. Establish r 阅读全文
posted @ 2017-12-15 19:31 CaiCongyu 阅读(679) 评论(0) 推荐(0) 编辑
摘要: Programming languages 1)Structured programming SQL 2)Procedural programming c 3)OO programming c++ java Procedural Programming vs OO programing 我自己的感觉 阅读全文
posted @ 2017-12-14 21:40 CaiCongyu 阅读(315) 评论(0) 推荐(0) 编辑