Types can be divided generally into two:

  1. Simple Types – Can store only a single data item.
  2. Non-Single Types – Can store multiple items.

The multiple elements that can be stored by non-single types are called members.

Types of Members

The members can be divided into two:

  1. Data Members – These store data relevant to the object of the class or the class as whole.
  2. Function Members – These members define the behavior of a type.