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.