COMS S1007 Object-Oriented Programming and Design in Java July 15, 2008
Last week Review of Java basics –Third edition: Chapters 1-7 except “T” (Testing) and “G” (Graphics) sections Designing Java classes –Third edition: Read sections 8.1 – 8.9 Software Engineering –Third edition: 12.1 – 12.5 Software Testing –Third edition: 2.8, 3.6, 5.5, 7.8
Today Interfaces and Polymorphism –Sections 9.1 – 9.5 Inheritance –Sections 10.1 – 10.8 UML class diagrams NetBeans and Eclipse
Next time On Thursday, we will start looking at basic 2D graphics in Java Bring your laptop for in-class exercises –Please notify us if you don’t have one Make sure you have an IDE installed
Homework #1 Link is posted on website Due Thursday at 5:30pm –NO LATE SUBMISSIONS ACCEPTED! Print a copy of your source code AND submit it electronically via CourseWorks Only registered students’ submissions will be graded
Comments on Homework #1 When writing an , your program does not have to check for valid addresses, comma-separated lists, etc. –it’s even okay if the recipient list, subject, or message is blank When reading s, you can assume that the “inbox” file is always correctly formatted
Comments on Homework #1 Your program should never crash, no matter what: –Asking for the “next” page when on the last one –Asking for the “prev” page when on the first one –Asking to read an invalid ID number –Entering an invalid option for a menu –Not specifying the names of the two files