Rogers Cadenhead is a writer, computer programmer, and web developer who has written more than 25 books on programming- and Internet-related topics, including Sams Teach Yourself Java in 21 Days. He maintains the Drudge Retort and other websites that receive more than 20 million visits a year. Rogers can be reached on Twitter at @rcade.
Part I: Getting Started
1 Becoming a Programmer
2 Writing Your First Program
3 Vacationing in Java
4 Understanding How Java Programs Work
Part II: Learning the Basics of Programming
5 Storing and Changing Information in a Program
6 Using Strings to Communicate
7 Using Conditional Tests to Make Decisions
8 Repeating an Action with Loops
Part III: Working with Information in New Ways
9 Storing Information with Arrays
10 Creating Your First Object
11 Describing What Your Object is Like
12 Making the Most of Existing Objects
Part IV: Programming a Graphical User Interface
13 Building a Simple User Interface
14 Laying Out a User Interface
15 Responding to User Input
16 Building a Complex User Interface
Part V: Moving into Advanced Topics
17 Storing Objects in Data Structures
18 Handling Errors in a Program
19 Creating a Threaded Program
20 Using Inner Classes and Closures
Part VI: Writing Internet Applications
21 Reading and Writing Files
22 Creating Web Services with JAX-WS
23 Working with Java2D Graphics
24 Writing Android Apps
Appendixes
A: Using the NetBeans Integrated Development Environment
B: Where to Go from Here: Java Resources
C: This Book's Web Site
D: Setting Up an Android Development Environment