Table of Contents 1
Cover
7
About the Technical Editor
About the Technical Proofreader
8
Introduction
Understanding the Exam
Reading This Book
Studying for the Exam
Applying Test-Taking Strategies
Taking the Exam
Objective Map
Assessment Test
9
Chapter 1: Building Blocks
Learning about the Environment
Understanding the Class Structure
Writing a main() Method
Understanding Package Declarations and Imports
Creating Objects
Understanding Data Types
Declaring Variables
Initializing Variables
Managing Variable Scope
Destroying Objects
Summary
Exam Essentials
Review Questions
10
Chapter 2: Operators
Understanding Java Operators
Applying Unary Operators
Working with Binary Arithmetic Operators
Assigning Values
Comparing Values
Making Decisions with the Ternary Operator
Summary
Exam Essentials
Review Questions
11
Chapter 3: Making Decisions
Creating Decision-Making Statements
Applying switch Statements
Writing while Loops
Constructing for Loops
Controlling Flow with Branching
Summary
Exam Essentials
Review Questions
12
Chapter 4: Core APIs
Creating and Manipulating Strings
Using the StringBuilder Class
Understanding Equality
Understanding Arrays
Calculating with Math APIs
Working with Dates and Times
Summary
Exam Essentials
Review Questions
13
Chapter 5: Methods
Designing Methods
Declaring Local and Instance Variables
Working with Varargs
Applying Access Modifiers
Accessing static Data
Passing Data among Methods
Overloading Methods
Summary
Exam Essentials
Review Questions
14
Chapter 6: Class Design
Understanding Inheritance
Creating Classes
Declaring Constructors