This book was written for the first course in Computer Science. The content of this text will fit in well at mid to upper level schools for the computer science major. The book contains over 20,000 lines of Java code that are unique to this book. The source code, as well as other electronic material, will be available on the McGraw-Hill website.
Preface
Welcome
Chapter 1: Values, Variables, and Expressions
Chapter 2: The Element Package
Chapter 3: Conditions and Loops
Chapter 4: Methods
Chapter 5: Strings
Chapter 6: Recursion
Chapter 7: Arrays and Vectors
Chapter 8: Classes
Chapter 9: Recursive Structures
Chapter 10: Threads
Chapter 11: Machines
A: Selected Answers
B: Basics
C: Contest Problems
D: Documentation of Selected Classes
E: The Element Package
Index