traitare likeinterfacefrom other languages.
Have fun with it !
traitallows you to describe what a class should look like.
You can implement functions that can be overridden. You can describe functions that have to be overridden.
New terms:
Several new keywords today:
extends: is the keyword to be able to inherit from a classoverride: tell that this element has been overridden.final: tell that this cannot be overriddenprotected: similar toprivatebut allow the child class to see this element.privatewould not allow the child to see it.