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 terms | Lesson |
|---|---|
JDK; Java installation; java -version; javac -version; PATH | Unit 0: JDK installation |
| JRE; JVM; bytecode; compiler; runtime; Java execution model | Unit 0: Java platform |
| VS Code; Theia IDE; Java language tools; editor; terminal | Unit 0: Editor and language tools |
| Screen reader mode; keyboard shortcuts; accessible Java workflow | Unit 0: Accessible development environment |
Java project; source file; class; main(); entry point; Hello World | Unit 0: First Java project |
Primitive types; int; long; double; boolean; char; String | Unit 1: Variables and data types |
Variable declaration; assignment; final; constants; type conversion | Unit 1: Variables and operators |
Problem solving, input, decisions, and loops
| Topic and learner search terms | Lesson |
|---|---|
| Computer science; algorithms; problem solving; software development process | Unit 1: Foundations and Unit 2: Development process |
Scanner; standard input; nextInt(); nextLine(); user prompts | Unit 2: Input with Scanner |
| Scanner newline issue; mixing token input and line input | Unit 2: Scanner pitfall |
Math; numeric expressions; arithmetic; conversions | Unit 2: Math operations |
Boolean expressions; comparisons; &&; ` | |
if; else if; else; switch; branching | Unit 3: Decisions |
String comparison; equals(); reference equality; == | Unit 3: String comparison |
for; enhanced for; while; do-while; iteration | Unit 3: Loops |
break; continue; loop control; nested loops | Unit 3: Loop control |
Arrays, strings, methods, and object-oriented programming
| Topic and learner search terms | Lesson |
|---|---|
Array; fixed length; indexes; length; initialization | Unit 4: Arrays |
| Multidimensional array; rows; columns; nested arrays | Unit 4: Multidimensional arrays |
ArrayList; List; resizable collection; generics | Unit 4: ArrayLists |
String; immutability; string methods; equals(); StringBuilder | Unit 5: Strings |
Method; method declaration; return type; parameter; argument; void | Unit 6: Methods |
| Method overloading; varargs; arrays as arguments | Unit 6: Overloading and arguments |
Class; object; instance; constructor; this; fields; methods | Unit 7: Classes and objects |
private; public; access modifiers; encapsulation | Unit 7: Encapsulation |
Inheritance; extends; super; overriding; polymorphism | Unit 7: Inheritance |
Abstract class; interface; implements; abstraction | Unit 7: Abstract classes and interfaces |
Files, exceptions, collections, and testing
| Topic and learner search terms | Lesson |
|---|---|
Read file; write file; Path; Files; java.nio.file | Unit 8: File operations |
Exception; try; catch; finally; throw; throws | Unit 8: Exception handling |
| Checked exception; unchecked exception; custom exception | Unit 8: Java exceptions |
Collections Framework; List; Set; Map; interfaces | Unit 9: Collections |
HashMap; HashSet; TreeMap; sorting; key-value storage | Unit 9: Collection implementations |
| Word frequency; CSV; data analysis; text processing | Unit 9: Data analysis |
| JUnit; test method; assertion; test fixture; unit test | Unit 9: Testing with JUnit |
| Maven; Gradle; build wrapper; project dependencies | Unit 9: JUnit project setup |
Projects and Kotlin supplement
| Topic and learner search terms | Lesson |
|---|---|
| Requirements; architecture; text adventure; rooms; player; command-line to-do | Units 10–11: Projects |
| Personal data manager; capstone; accessibility; documentation; testing | Unit 11: Capstone |
| Kotlin/JVM; Java interoperability; Kotlin setup; Java libraries from Kotlin | Kotlin 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 functions | Kotlin supplement: Functions and classes |
Kotlin collections; Java collections; testing; debugging; coroutines; suspend | Kotlin supplement: Collections and further topics |