AP CSA Unit 3: Class Creation

Unit 3 of 4 · AP CSA 2025–2026 CED

Unit 3: Class Creation

Learn to design and build your own Java classes from scratch. This unit covers abstraction, constructors, accessors, mutators, static members, scope, and the this keyword — the foundation of object-oriented programming on the AP exam. Accounts for 10–18% of the AP exam.

9 of 9 lessons live — 100% complete

9Lessons
10–18%AP Exam Weight
108Practice MCQs
36Mastery MCQs
18Interactive Games

Coding Exercises

Write real Java in the browser and submit it. Every exercise is graded against hidden test cases, and your score reports to your teacher automatically. 9 of 9 are open so far; the rest unlock as they are built.

3.1Abstraction and Program DesignExercise 1 →🔒 Exercise 2
3.2Impact of Program DesignExercise 1 →🔒 Exercise 2
3.3Anatomy of a ClassExercise 1 →🔒 Exercise 2
3.4ConstructorsExercise 1 →🔒 Exercise 2
3.5Methods: How to Write ThemExercise 1 →🔒 Exercise 2
3.6Methods: Passing and Returning References of an ObjectExercise 1 →🔒 Exercise 2
3.7Class Variables and MethodsExercise 1 →🔒 Exercise 2
3.8Scope and AccessExercise 1 →🔒 Exercise 2
3.9this KeywordExercise 1 →🔒 Exercise 2
What You'll Master in Unit 3
  • Apply abstraction to identify the right attributes and behaviors for any class
  • Write constructors, accessors, and mutators following AP exam conventions
  • Explain pass-by-value for primitives vs. reference semantics for objects
  • Use static variables and methods correctly (and avoid the classic compile errors)
  • Resolve variable shadowing with this in constructors and methods
  • Predict output and spot bugs in class-design code

All 9 Lessons — Start Anywhere

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]