The anatomy of a class

A class declares private instance variables, the data each object keeps, and public methods, what other code may ask of it, so the object's data can only be changed in the ways the class allows.

From AP Computer Science A.