AP® Computer Science A glossary
State (of an object)
Also called: object state
Course: AP® Computer Science A Shows up in: Unit 3: Class Creation
An object's attributes and their values at a given time, stored in the object's instance variables.
Appears in the course and exam description (CED): 3.4.A.1
State defines a has-a relationship: a player has a name and has a score. The constructor sets the initial state, and mutator methods change it over time.
Learn it properly, with a checkpoint 3.4 Constructors