Metaclasses
A metaclass is a class of classes. Example:
- The instances of an Aircraft class are:
- The properties of Aircraft are:
- wingspan, range, weight, etc.
- Each of the instances of Aircraft are themselves classes!
- The instances of a F16 class are specific F16 planes.
- The properties of F16 are:
- tailNum, deployedAt, etc.
- The Aircraft class is a metaclass!