You can do anything in a trait definition that you can do in a class definition, and the syntax looks exactly the same, except:
a trait cannot have any “class” parameters
[behaviour?]
Answer
whereas in classes, super calls are statically bound, in traits, they are dynamically bound.
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Parent (intermediate) annotation
Open it You can do anything in a trait definition that you can do in a class definition, and the syntax looks exactly the same, except:
a trait cannot have any “class” parameterswhereas in classes, super calls are statically bound, in traits, they are dynamically bound.