The first part of the book is a stepping stone, preparing you to embark on the journey of learn-
ing Java. You will begin to know Java (Chapter 1), and will learn fundamental programming
techniques with primitive data types, variables, constants, expressions, and operators (Chapter
2), control statements (Chapters 3–4), methods (Chapter 5), and arrays (Chapters 6–7). After
Chapter 6, you may jump to Chapter 20 to learn how to write recursive methods for solving
inherently recursive problems.
Part II: Object-Oriented Programming (Chapters 8–11, 13–14, 19)
This part introduces object-oriented programming. Java is an object-oriented programming
language that uses abstraction, encapsulation, inheritance, and polymorphism to provide great
flexibility, modularity, and reusability in developing software. You will learn programming
with objects and classes (Chapters 8–10), class inheritance (Chapter 11), polymorphism
(Chapter 11), exception handling (Chapter 13), abstract classes (Chapter 14), and interfaces
(Chapter 14). Processing strings will be introduced in Chapter 9 along with text I/O. Binary
I/O is introduced in Chapter 19.
Part III: GUI Programming (Chapters 12, 15–18)
This part introduces elementary Java GUI programming in Chapters 12 and 15–18. Major
topics include GUI basics (Chapter 12), drawing shapes (Chapter 15), event-driven program-
ming (Chapter 16), creating graphical user interfaces (Chapter 17), and writing applets
(Chapter 18). You will learn the architecture of Java GUI programming and use the GUI com-
ponents to develop applications and applets from these elementary GUI chapters.