Problem solving with Java /
Saved in:
Author / Creator: | Koffman, Elliot B. |
---|---|
Edition: | 2nd ed. |
Imprint: | Boston, MA : Addison Wesley, 2002. |
Description: | xxi, 857 p. ; 24 cm. |
Language: | English |
Subject: | |
Format: | Print Book |
URL for this record: | http://pi.lib.uchicago.edu/1001/cat/bib/4595297 |
Table of Contents:
- Chapter 1. Introduction to Computers, Problem Solving, and Programming
- 1.1. Overview of Computers
- 1.2. Computer Components
- 1.3. Computer Software
- 1.4. Processing a High-Level Language Program
- 1.5. The Software Development Method
- 1.6. Professional Ethics for Computer Programmers
- Chapter 2. Using Primitive Data Types and Using Classes
- 2.1. Primitive Data Types
- 2.2. Processing Numeric Data
- 2.3. Introduction to Methods
- 2.4. The String Class
- 2.5. Input/Output with Class JOptionPane and Method println()
- 2.6. Problem Solving in Action
- 2.7. Anatomy of a Java Program
- 2.8. Numerical Computations with Class Math
- 2.9. Common Errors and Debugging
- Chapter 3. Object-Oriented Design and Writing Worker Classes
- 3.1. A First Worker Class: Class FoodItem
- 3.2. A Worker Class That Manipulates String Objects
- 3.3. A Worker Class That Processes Integers
- 3.4. Review of Methods
- 3.5. Simplifying a Solution Using Multiple Classes
- 3.6. Formatting Output and Class KeyIn (Optional)
- 3.7. Applets, AWT, and the Graphics Class (Optional)
- 3.8. Common Programming Errors
- Chapter 4. Control Structures: Decisions and Loops
- 4.1. Control Structures
- 4.2. boolean Expressions
- 4.3. The if Statement
- 4.4. Decision Steps in Algorithms
- 4.5. Multiple-Alternative Decisions: Nested if and switch
- 4.6. Counting Loops, while and for Statements
- 4.7. State-Controlled Loops
- 4.8. Putting It All Together
- 4.9. Debugging and Testing Programs with Decisions and Loops
- 4.10. Common Programming Errors
- Chapter 5. Arrays and Vectors
- 5.1. Array Declarations
- 5.2. Processing Arrays and Array Elements
- 5.3. Operations on Whole Arrays
- 5.4. Searching and Sorting an Array
- 5.5. Arrays of Objects
- 5.6. Multidimensional Arrays--Arrays of Arrays
- 5.7. Vectors
- 5.8. Wrapper Classes for Primitive Type Data
- 5.9. Arrays and ArrayList Collection Classes (Optional)
- 5.10. Common Programming Errors
- Chapter 6. Class Hierarchies, Inheritance, and Interfaces
- 6.1. Class Hierarchies and Inheritance
- 6.2. Operations in a Class Hierarchy
- 6.3. Polymorphism
- 6.4. Interfaces
- 6.5. Abstract Classes
- 6.6. Drawing Figures Using an Abstract Class and an Interface
- 6.7. Packages and Visibility (Optional)
- 6.8. Testing a Program System
- 6.9. Common Programming Errors
- Chapter 7. Graphical User Interfaces (GUIs)
- 7.1. AWT, Swing, and Browser-Applet Interaction
- 7.2. Designing a First GUI
- 7.3. The Java Event Model
- 7.4. Using a GUI in an Application
- 7.5. Components for Making Choices
- 7.6. Designing a GUI for an Existing Class
- 7.7. Listener Classes as Inner Classes
- 7.8. Layout Managers
- 7.9. Common Programming Errors
- Chapter 8. Exceptions, Streams, and Files
- 8.1. Exceptions
- 8.2. Streams and Text Files
- 8.3. Using Text Files
- 8.4. A GUI for Processing the DVD Collection
- 8.5. Binary Files
- 8.6. Common Programming Errors
- Chapter 9. Recursion
- 9.1. Recursive Methods
- 9.2. Recursive Mathematical Methods
- 9.3. Use of the Stack in Recursion
- 9.4. Recursive Methods with Arrays, Vectors, and Strings
- 9.5. Binary Search
- 9.6. Solving Towers of Hanoi with Recursion
- 9.7. A Recursive Program with a GUI
- 9.8. Common Programming Errors
- Chapter 10. Linked Data Structures
- 10.1. Linked Lists
- 10.2. Stacks
- 10.3. Queues
- 10.4. Binary Trees
- 10.5. A Binary Search Tree Class
- 10.6. LinkedList Collection Class and List Iterators (Optional)
- 10.7. Common Programming Errors
- Appendix A. Java Resources, Package psJava, JBuilder, and HTML Resources
- Appendix B. Java Language Summary
- Appendix C. Packages java.lang and java.util
- Appendix D. Package java.io
- Appendix E. Package java.awt
- Appendix F. Package javax.swing
- Answers to Odd Self-Check Exercises
- Index