Please enable JavaScript to use CodeHS

AP CSA: MOD-2.B.1

CodeHS Lessons

An object’s state refers to its attributes and their values at a given time and is defined by instance variables belonging to the object. This creates a “has-a” relationship between the object and its instance variables.

Standard
5.2 Constructors
Standard
4.4 Writing Classes
Standard
6.4 Writing Classes
Standard
6.4 Writing Classes
Standard
11.2 Constructors
12.4 Writing Classes
Standard
11.2 Constructors
18.4 Writing Classes