Instance variable: A variable declared in a class but outside any method, storing the state of each object.
How to apply it: Identify instance variables to determine what data each object stores.
Course: AP Computer Science A · Unit: Writing Classes
Practice questions about Instance variable on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.