Skip to the content.
Instances of Classes Initializing Objects Calling a Non-Void Method Code Example Hacks Quiz

Unit 2 — Using Objects

The homepage for unit 2.

AP CSA

Unit 2 - Using Objects

This is one of the most important concepts in Java. Buckle up and pay attention!

Learning Goals

  • Understand classes and objects as a concept
    • Learn about attributes and methods
  • Learn about the String class and its methods
  • Learn about the wrapper classes for primitives
  • Learn about the Math module

Demos

  • Book (what are objects?)
  • Rubiks cube (methods and classes)
  • Box (autoboxing/unboxing)

In-Class Activities

  • Method golf (method signatures)
  • Shooting hoops (MC practice)

Resources