Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Java Index

Use this index to locate Java lessons by language feature, API, development tool, or learner task. Java and Kotlin are kept distinct: Kotlin is an optional post-capstone supplement, not a fifth core curriculum. For definitions, see the Java glossary and Kotlin supplement glossary.

JDK, editor, project setup, and accessibility

Topic and learner search termsLesson
JDK; Java installation; java -version; javac -version; PATHUnit 0: JDK installation
JRE; JVM; bytecode; compiler; runtime; Java execution modelUnit 0: Java platform
VS Code; Theia IDE; Java language tools; editor; terminalUnit 0: Editor and language tools
Screen reader mode; keyboard shortcuts; accessible Java workflowUnit 0: Accessible development environment
Java project; source file; class; main(); entry point; Hello WorldUnit 0: First Java project
Primitive types; int; long; double; boolean; char; StringUnit 1: Variables and data types
Variable declaration; assignment; final; constants; type conversionUnit 1: Variables and operators

Problem solving, input, decisions, and loops

Topic and learner search termsLesson
Computer science; algorithms; problem solving; software development processUnit 1: Foundations and Unit 2: Development process
Scanner; standard input; nextInt(); nextLine(); user promptsUnit 2: Input with Scanner
Scanner newline issue; mixing token input and line inputUnit 2: Scanner pitfall
Math; numeric expressions; arithmetic; conversionsUnit 2: Math operations
Boolean expressions; comparisons; &&; `
if; else if; else; switch; branchingUnit 3: Decisions
String comparison; equals(); reference equality; ==Unit 3: String comparison
for; enhanced for; while; do-while; iterationUnit 3: Loops
break; continue; loop control; nested loopsUnit 3: Loop control

Arrays, strings, methods, and object-oriented programming

Topic and learner search termsLesson
Array; fixed length; indexes; length; initializationUnit 4: Arrays
Multidimensional array; rows; columns; nested arraysUnit 4: Multidimensional arrays
ArrayList; List; resizable collection; genericsUnit 4: ArrayLists
String; immutability; string methods; equals(); StringBuilderUnit 5: Strings
Method; method declaration; return type; parameter; argument; voidUnit 6: Methods
Method overloading; varargs; arrays as argumentsUnit 6: Overloading and arguments
Class; object; instance; constructor; this; fields; methodsUnit 7: Classes and objects
private; public; access modifiers; encapsulationUnit 7: Encapsulation
Inheritance; extends; super; overriding; polymorphismUnit 7: Inheritance
Abstract class; interface; implements; abstractionUnit 7: Abstract classes and interfaces

Files, exceptions, collections, and testing

Topic and learner search termsLesson
Read file; write file; Path; Files; java.nio.fileUnit 8: File operations
Exception; try; catch; finally; throw; throwsUnit 8: Exception handling
Checked exception; unchecked exception; custom exceptionUnit 8: Java exceptions
Collections Framework; List; Set; Map; interfacesUnit 9: Collections
HashMap; HashSet; TreeMap; sorting; key-value storageUnit 9: Collection implementations
Word frequency; CSV; data analysis; text processingUnit 9: Data analysis
JUnit; test method; assertion; test fixture; unit testUnit 9: Testing with JUnit
Maven; Gradle; build wrapper; project dependenciesUnit 9: JUnit project setup

Projects and Kotlin supplement

Topic and learner search termsLesson
Requirements; architecture; text adventure; rooms; player; command-line to-doUnits 10–11: Projects
Personal data manager; capstone; accessibility; documentation; testingUnit 11: Capstone
Kotlin/JVM; Java interoperability; Kotlin setup; Java libraries from KotlinKotlin supplement: Relationship and setup
val; var; type inference; nullable types; null safety; safe call ?.; Elvis ?:Kotlin supplement: Variables and null safety
fun; when; data classes; properties; extension functionsKotlin supplement: Functions and classes
Kotlin collections; Java collections; testing; debugging; coroutines; suspendKotlin supplement: Collections and further topics

Java curriculum · Book overview · Programming glossary