* Objects First Approach. Students learn to design with objects from the start. In more traditional approaches, students first learn "programming basics in the context of procedural programming in the small." Since this frame of reference is essentially useless when attacking large-scale problems, students must later "re-learn how to approach problems. Instructors can present material from a point of view that will "make sense" throughout the curriculum. Presentation and justification of programming principles and good techniques is easier.
* Emphasis on the distinction between class specification and implementation. Students learn to develop coherent class specifications early on, and to build components that conform to carefully defined, consistent specifications. The result is more main-tainable, error-free code.
* Early emphasis on testing and test-driven implementation. Students develop a habit of testing as part of the implementation process. Testing is essential to ensure quality programs.
* Current presentation of object-oriented design and Java. Students benefit from seeing general approaches to commonly occurring design patterns in a specific, well-defined context. This will also make it easier for students to "get the point" when such topics are introduced in upper-level design and software engineering courses. Other features include an emphasis on event-driven interfaces, rather than traditional procedural I/O; informal use of standard UML notation
* Optional interactive exercises are designed for use with the open-source DrJava integrated development environment (IDE) - a popular tool for compiling and testing programs
Chapter 1. Data abstraction: introductory concepts.
Chapter 2. Defining a simple class.
Chapter 3. Designing interacting classes.
Chapter 4. Conditions.
Chapter 5. Programming by contract.
Chapter 6. Testing.
Chapter 7. Building a text-based user interface.
Chapter 8. The software life cycle: building a complete system.
Chapter 9. Specifying clients: interfaces.
Chapter 10. Class extension and inheritance.
Chapter 11. Modeling with abstraction.
Chapter 12. Lists.
Chapter 13. Arrays.
Chapter 14. Sorting and searching.
Chapter 15. Failures and exceptions.
Chapter 16. Stream i/o.
Chapter 17. Building a graphical user interface.
Chapter 18. Integrating user interface and model: the Model-View-Controller pattern.
Chapter 19. Recursion.
Chapter 20. Generic structur5es.
Chapter 21. Implementing lists: linked implementations.
Chapter 22. Iterators.
Supplement a. Systems and software.
Supplement b. Programming errors.
Supplement C. Applets.
Supplement d. Enumerations types: the rest of the story.
Appendix i. Compiling, executing, and documenting.
Appendix ii. DrJava.
Appendix iii. Controls and basic Latin: the first 128 Unicode characters.
Audience: Tertiary; University or College
Number Of Pages: 1040
Published: 25th January 2008
Dimensions (cm): 23.2 x 19.15 x 3.66