← Learn to Code — Python, Java, C, SQL & Web
Java for AP CS A
Java programming for the AP Computer Science A exam.
java 19 Lessons
Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.
Lessons in this course
No lessons match. Clear the search or choose another filter.
- history A short history of Java Reading and resources
- usage What Java is used for Reading and resources
- resources Where to learn more Reading and resources
- setup Set up your computer Reading and resources
- Java basics: classes, main, and output 01 · 2 required tasks Video
- Using objects: String, Math, and wrappers 02 · 3 required tasks Video
- Booleans and selection: if/else and logic 03 · 3 required tasks Video
- Loops: while, for, and accumulation 04 · 3 required tasks Video
- Strings and nested loops 05 · 3 required tasks Video
- Writing a class: fields, constructor, methods 06 · 3 required tasks Video
- Encapsulation: private fields, getters, setters 07 · 3 required tasks Video
- 1-D arrays: store, index, and traverse 08 · 3 required tasks Video
- Array algorithms: max, count, search, average 09 · 4 required tasks Video
- ArrayList: a list that grows 10 · 3 required tasks Video
- ArrayList algorithms: filter and the remove bug 11 · 3 required tasks Video
- 2-D arrays: working with a grid 12 · 3 required tasks Video
- Searching: linear and binary 13 · 3 required tasks Video
- Sorting: selection and insertion sort 14 · 3 required tasks Video
- Recursion: base case and recursive case 15 · 3 required tasks Video
- Text files: write and read with Scanner 16 · 2 required tasks Video
- Inheritance: extends, super, and overriding 17 · 3 required tasks Video
- Polymorphism: dynamic dispatch and toString() 18 · 3 required tasks Video
- FRQ workshop: the 4 question types 19 · 2 required tasks Video