0. Downloading, Installing, and Configuring the Java Development Kit (JDK)
0.1 Where Do I Get My Java Development Kit (JDK)?
0.2 Downloading the Correct JDK For Your Machine
0.3 Installing the JDK in Mac OS X
0.4 Installing the JDK for your Windows Operating Environment
0.5 JDK Installer for Linux Operating Environment
Chapter Summary
Quiz
JDK Installation Task
1. Your First Java Cup
1.1 The Key Features of Java
1.2 The Three Flavors of Java
1.3 JDK vs. JRE
1.4 The Java Runtime Environment (JRE)
1.5 The Garbage Collector
1.6 Three Tasks Performed By Java in Handling Code Security
Chapter Summary
Quiz
Further Reflection
2. Writing Your First Java Program
2.1 “HelloWorld”: Your First Java Application
2.2 The System.out.println() Method
2.3 Debugging Compile-Time Errors and Runtime Errors
2.4 Introduction to JSHELL
Chapter Summary
Quiz
Coding Tasks
3. User Input, Identifiers, Keywords, and The Primitive Data Types
3.1 Three Types of Java Comments
3.2 Semicolons, Blocks, and White Spaces
3.3 Java Identifiers
3.4 The Java Keywords
3.5 Java Programming Language Coding Conventions
3.6 The Primitive Data Types
3.7 The Math Class
3.8 The Scanner Class
Chapter Summary
Quiz
Coding Tasks
4. Java Operators
4.1 Java Operators
4.2 Order of Precedence
Chapter Summary
Quiz
Coding Task
5. Java Control Structures
5.1 Introduction to Java Control Structures
5.2 The if Condition and Its Variants
5.3 The switch-case and Its Variants
5.4 The while Statement
5.5 The do-while Statement
5.6. The for Loop
5.7. The break Statement...Again
5.8. The continue Statement
5.9. Labeled breaks and continues
Chapter Summary
Quiz
Coding Task
6. String, StringBuffer, and StringBuilder
6.1 The String Class
6.2 Commonly Used String Methods
6.3 The StringBuffer and StringBuilder Classes
Chapter Summary
Quiz
Coding Task
7. Arrays
7.1 Introduction to Arrays
7.2 Array Limits
7.3 The Enhanced For Loop
7.4 Copying Arrays
7.5 Command Line Arguments
7.6 Array of Arrays (Two-Dimensional Arrays)
Chapter Summary
Quiz
Coding Task
Glossary