Book II

Programming Basics

9781118408032-pp0201.tif

webextras.eps You can find an interesting programming challenge that requires use of many of the programming techniques covered in this minibook at www.dummies.com/extras/javaaio. The challenge is to create a program that plays a simple game of Tic-Tac-Toe.

Contents at a Glance

Chapter 1: Java Programming Basics

Chapter 2: Working with Variables and Data Types

Chapter 3: Working with Numbers and Expressions

Chapter 4: Making Choices

Chapter 5: Going Around in Circles (Or, Using Loops)

Chapter 6: Pulling a Switcheroo

Chapter 7: Adding Some Methods to Your Madness

Chapter 8: Handling Exceptions

Get Java All-in-One For Dummies, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.