Please enable JavaScript to use CodeHS

AP Computer Science A (Nitro)

Lesson 2.1 Objects: Instances of Classes

Description

In this lesson, students are introduced to classes and objects. These are the foundations of object oriented programming.
Students will learn about objects that have state and behavior, and classes which are the templates for creating objects. This lesson corresponds with AP Computer Science A topic 2.1.


Objective

Students will be able to:

  • Explain the relationship between a class and an object
  • Create classes with instance variables