""Contents""; ""Preface""; ""1 Programming Is Like Juggling""; ""Computing as a Fact of Life""; ""The Past: A Very Brief History of Computing""; ""Juggling""; ""Conclusion""; ""2 Programming the Simplest Java Programs""; ""Introduction""; ""Examples""; ""Details""; ""Using Parameters to Pass Information to a Method""; ""A Digression""; ""Running the Personalized Robot Greeter""; ""The Power of Inheritance""; ""The Least You Can Do""; ""Executing an Applet""; ""A Greetings Applet That Uses a Graphics Context""; ""Conclusion""; ""Compiler Error Messages""; ""Review Questions""
Text of Note
""3 Class Design and Implementation""""Introduction""; ""Building and Testing the Prototype GUI""; ""A Generic Problem-Solving Technique""; ""Account Class: Design, Implementation, and Testing""; ""Creating and Testing the Finished GUI""; ""The Bank Class: Design, Implementation, and Testing""; ""Putting It All Together�Finally!""; ""Conclusion""; ""Review Questions""; ""4 Graphics and Inheritance""; ""Introduction""; ""The Graphics Class""; ""The Circle Class�Design and Implementation""; ""Displaying a Circle Graphically""; ""The Color Class""
Text of Note
""Actions Depending on Conditions�Conditional Execution""""Programming Example: Using the SingleScoreConverter Class in a Tennis Scorekeeping Program""; ""Conclusion""; ""Review Questions""; ""8 Iterative Statements and Strings""; ""Introduction""; ""Iteration: Repeated Action""; ""The while Loop""; ""The for Loop""; ""Strings: A Very Brief Introduction""; ""Conclusion""; ""Review Questions""; ""9 Simulation and Animation""; ""Introduction""; ""An Introduction to Threads""; ""The Programming Task""; ""Recapitulation""; ""Conclusion""; ""10 Reading and Writing Files""; ""Introduction""
Text of Note
""Isolating the I/O Using java.util. StringTokenizer""""The MyReader Class""; ""Putting It All Together""; ""Conclusion""; ""Review Questions""; ""11 Data Structures""; ""Introduction""; ""Arrays""; ""Vector and Iterator""; ""A Simple Bank Database""; ""Molecules in Box""; ""Conclusion""; ""Review Questions""; ""12 Interfaces and Writing a List Class""; ""Introduction""; ""Interfaces""; ""Designing a List Class""; ""List Implementation Using an Array: MyArrayIntList""; ""Implementation Using a Vector: MyVectorIntList""; ""Testing""; ""JavaDoc""; ""Conclusion""; ""Review Questions""
Text of Note
""The Eye Class: Design and Implementation""""Assembling a Working Eyes Program""; ""Conclusion""; ""Review Questions""; ""5 Toward Consistent Classes""; ""Introduction""; ""Details I�Statements in Java: Syntax and Semantics""; ""The Basics of Classes""; ""Constructors""; ""Details II�Types, Operators, and Expressions""; ""Recapitulation""; ""Conclusion""; ""Review Questions""; ""6 Software Reuse""; ""Introduction""; ""Inheritance""; ""Composition""; ""Composition Programming Example: Snowpeople""; ""Conclusion""; ""Review Questions""; ""7 Conditional Statements""; ""Introduction""