A class is the blueprint from which objects are created: it declares fields (the state) and methods (the behavior). It models a domain concept, such as Compte or Client. Each instance obtained with new has its own field values.
Example
class Point {
int x;
int y;
}