Why is the definition of "Class consists of fields and methods" not complete? What else can be part of a class?
What else can be part of a class?
Meaning. Fields (state) and methods (behavior) of a class are united by a single meaning within the framework of the chosen abstraction model (that is, the principle of identifying task entities)