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 class periods 15 topics

AP Computer Science A · members' unit

Using Objects and Methods is behind a locked door

Units in AP Computer Science A 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 · 14 min read

  1. 1.1 · Algorithms, programming, and compilers
  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 the range of a variable
  6. 1.6 · Compound assignment operators
  7. 1.7 · APIs and libraries
  8. 1.8 · Comments
  9. 1.9 · Method signatures
  10. 1.10 · Calling class methods
  11. 1.11 · The Math class
  12. 1.12 · Objects: instances of classes
  13. 1.13 · Creating objects
  14. 1.14 · Calling instance methods
  15. 1.15 · String manipulation
  16. Where this goes next

10 quick checksobject 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 enrols you on the spot. Or paste an access key if you were handed one.

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 AP Computer Science A.