Preface Chapter I Introduction 1.1 Computer Processing Software Categories Digital Computers Binary Numbers 1.2 Hardware Components Computer Architecture Input/Output Devices Main Memory and Secondary Memory The Central Processing Unit 1.3 Networks Network Connections Local-Area Networks and Wide-Area Networks The Internet The World Wide Web Uniform Resource Locators 1.4 The Java Programming Language A Java Program Comments Identifiers and Reserved WordS White Space 1.5 Program Development Programming "Language Levels Editors, Compilers, and Interpreters Development Environments Syntax and Semantics Errors 1.6 Object-Oriented Programming Problem Solving Object-Oriented Software Principles Chapter 2 Data and Expressions 2.1 Character Strings The print and println Methods String Concatenation Escape Sequences 2.2 Variables and Assignment Variables The Assignment Statement Constants 2.3 Primitive Data Types Integers and Floating Points Characters Booleans 2.4 Expressions Arithmetic Operators Operator Precedence Increment and Decrement Operators Assignment Operators 2.5 Data Conversion Conversion Techniques 2.6 Interactive Programs The Scanner Class 2.7 Graphics Coordinate Systems Representing Color 2.8 Applets Executing Applets Using the Web 2.9 Drawing Shapes The Graphics Class Software Failure:NASA Mars Climate Orbiter and Polar Lander Chapter 3 Using Classes and Objects Chapter 4 Writing Classes Chapter 5 Conditionals and Loops Chapter 6 Object-Oriented Design Chapter 7 Arrays Chapter 8 Inheritance Chapter 9 Polymorphism Chapter 10 Exceptions Chapter 11 Recursion Chapter 12 Collections Appendix A Glossary Appendix B Number Systems Appendix C The Unicode Character Set Appendix D Java Operators Appendix E Java Mdifiers Appendix F Java Coding Guidelines