Attribute with class type
Why can't I create an attribute with a Class type?
Having an attribute with a class type is an object reference, i.e., pointing from one object to another—which is an association.
Therefore, it's forbidden by design.
Note: Everyone asks this question during their work with modelling, at some point.
