EMZETT.
Login

Class Members

In short: Class members are all parts of a class: attributes, methods, constructors and inner classes.

In more detail: They are addressed with the dot operator (object.attribute, object.method()).

In Depth

Types

  • Instance members: belong to an object, each object has its own values.
  • Static members: belong to the class (static).
  • Constructors: create objects (constructors).
  • Nested classes: classes within classes (nested classes).

See classes, instantiate.

See also: Klassen, static, Nested Classes, Instantiate