Skip to content

← 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.

Start the course

Lessons in this course

  1. history A short history of Java Reading and resources
  2. usage What Java is used for Reading and resources
  3. resources Where to learn more Reading and resources
  4. setup Set up your computer Reading and resources
  5. Java basics: classes, main, and output 01 · 2 required tasks Video
  6. Using objects: String, Math, and wrappers 02 · 3 required tasks Video
  7. Booleans and selection: if/else and logic 03 · 3 required tasks Video
  8. Loops: while, for, and accumulation 04 · 3 required tasks Video
  9. Strings and nested loops 05 · 3 required tasks Video
  10. Writing a class: fields, constructor, methods 06 · 3 required tasks Video
  11. Encapsulation: private fields, getters, setters 07 · 3 required tasks Video
  12. 1-D arrays: store, index, and traverse 08 · 3 required tasks Video
  13. Array algorithms: max, count, search, average 09 · 4 required tasks Video
  14. ArrayList: a list that grows 10 · 3 required tasks Video
  15. ArrayList algorithms: filter and the remove bug 11 · 3 required tasks Video
  16. 2-D arrays: working with a grid 12 · 3 required tasks Video
  17. Searching: linear and binary 13 · 3 required tasks Video
  18. Sorting: selection and insertion sort 14 · 3 required tasks Video
  19. Recursion: base case and recursive case 15 · 3 required tasks Video
  20. Text files: write and read with Scanner 16 · 2 required tasks Video
  21. Inheritance: extends, super, and overriding 17 · 3 required tasks Video
  22. Polymorphism: dynamic dispatch and toString() 18 · 3 required tasks Video
  23. FRQ workshop: the 4 question types 19 · 2 required tasks Video

Language reference

/know/reference/java

Log in or create account

IGCSE, A-Level & AP