Unit 01

Using Objects and Methods

By the end of this unit you can read a line of Java out loud, say what every piece of it does, and predict what it prints before you run it.

15–25% of the AP Exam~32–34 CED periods~16–19 blocks here15 topics

Computer Science in Java · members' unit

Using Objects and Methods is behind a locked door

Units in Computer Science in Java are for people taking the course. Getting in takes a link or a key — signing in on its own doesn't do it.

What's in this unit · 21 min read

  1. 1.1 · Algorithms, Programs, and the Compiler
  2. 1.2 · Variables and data types
  3. 1.3 · Expressions and output
  4. 1.4 · Assignment statements and input
  5. 1.5 · Casting and Numeric Limits
  6. 1.6 · Compound assignment operators
  7. 1.7 · APIs and libraries
  8. 1.8 · Comments and Documentation
  9. 1.9 · Method signatures
  10. 1.10 · Calling Static Methods
  11. 1.11 · The Math class
  12. 1.12 · Classes and Objects
  13. 1.13 · Creating Objects with Constructors
  14. 1.14 · Calling instance methods
  15. 1.15 · Working with Strings
  16. Where this goes next

50 quick checksannotated specimenscrollytellingobject reference diagramsobject instantiation yard

1 Sign in

With your school Google account. This is how your work reaches the gradebook — it doesn't open the unit by itself.

2 Get in

Open the class link your teacher posted — that's the usual way, and it enrolls you on the spot. Or paste an access key if you were handed one.

Or buy it

Reading on your own, with no class? The course can be yours.

A key unlocks this browser and keeps your progress here; signing in keeps it with you across devices. Either way the key itself is only ever checked as a hash. Manage all of this on your account, read what signing in stores, or go back to Computer Science in Java.

Sources

  • College Board — AP Computer Science A Course and Exam Description, Effective Fall 2025