💻ap computer science a review

Instance Variable

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

An instance variable is a variable that belongs to an object and holds unique data for each instance of the class. It is declared within a class but outside any method.

"Instance Variable" also found in:

2,589 studying →