Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
A class member refers to any variable or method declared inside a class. It can be either static or non-static (also called instance members).
Related terms
Static Member: Belongs to the entire class rather than individual objects. There is only one copy of static members shared among all instances of the class.
Instance Member: Belongs to individual objects created from the class. Each instance has its own copy of instance members.