(NOTE: Each chapter begins with Chapter Objectives and ends with Chapter Summary and Programming Pointers and/or Programming Problems.) Beginning Snapshots. 1. Problem Solving and Software Engineering. A Brief History of OOP and Java. Introduction to Java Application Programs. Introduction to Java Applet Programs. Problem Solving through Software Engineering. 2. Some Java Fundamentals. Example: A Payroll Program. Types, Variables, and Constants. Some Basic Program Features. Java Documentation—API. Introduction to GUIs: A GUI Greeter. 3. Types and Expressions. Introductory Example: Einstein's Equation. Primitive Types and Reference Types. Numeric Types and Expressions. Assignment Expressions. Java's boolean Type and Expressions. Java's Character-Related Types and Expressions. Graphical/Internet Java: Einstein's Equation. 4. Methods. Introductory Example: Old MacDonald Had a Farm… Getting Started with Methods. Example: The Volume of a Sphere. Methods: A Summary. Graphical/Internet Java: Old MacDonald…Applet. 5. Using Control Structures in Methods. Example: An Improved Payroll Program. Methods That Use Selection. Methods That Use Repetition. Graphical/Internet Java: Old MacDonald…Applet Revisited. 6. More about Classes: Instance Methods. Introductory Example: Modeling Temperatures. Designing a Class. Implementing Class Attributes. Implementing Class Operations. Graphical/Internet Java: Raise the Flag. 7. Selection. Introductory Example: The Mascot Problem. Selection: The if Statement Revisited. Selection: The Switch Statement. Selection: Conditional Expressions. Graphical/Internet Java: Event-Driven Programming. 8. Repetition Structures. Introductory Example: The Punishment of Gauss. Repetition: The For Loop Revisited. Repetition: The While Loop. Repetition: The Do Loop. Choosing the Right Loop. Introduction to Recursion. Graphical/Internet Java: A Guessing Game. 9. Arrays. Introductory Example: Ms. White's Test Score Analyzer. Arrays. Sorting. Searching. Processing Command-Line Arguments. Multidimensional Arrays. Graphical/Internet Java: A Pie-Chart Class. 10. File I/O. Introductory Example: Weather Data Analysis. Java's I/O System: Readers, Writers, and Streams. Exceptions. More about I/O Streams. Example: Scanning for a Virus. Example: Retrieving Student Information. Graphical/Internet Java: Student Data Retrieval GUI. 11. Inheritance and OOP. Introductory Example: A Trip to the Aviary. Inheritance and Polymorphism. Example: Geological Classification. Example: An O-O Payroll Program. Graphical/Internet Java: A Function Plotter. 12. Data Structures. Introductory Example: Counting Internet Addresses. The ArrayList and LinkedList Classes. Example: A Stack Application and Class. Example: Building a Queue Class. An Introduction to Trees. Graphical/Internet Java: A PolygonSketcher Class. 13. Advanced Topics. Introductory Example Sorting a List. Topic: Multithreading. Topic: Client-Server Networking. Graphical/Internet Java: Moon Animation. The End? Appendixes. A: Unicode Character Set. B: Java Keywords. C: Java Operators. D: Java Packages and Classes. E: Number Systems. F: Answers to Quick Quizzes. Index. |