Implementations and traits cannot define fields themselves, and only traits can provide inheritance, to prevent the diamond problem of multiple inheritance, as in C++.
Implementations and traits cannot define fields themselves. Only traits can provide inheritance. This is to prevent the diamond problem of multiple inheritance, as in C++.