11. Modifiers
●
○
○
○ "Design and document for inheritance
or else prohibit it"
Joshua J. Bloch, Effective Java
ps. Lukas Lechner has written a series of articles on
"How Effective Java influenced Kotlin" (http://lukle.at)
●
○
○
○
○
20. Delegation
●
●
●
●
Class Car inherits from an interface Nameable
and delegates all of its public methods to a
delegate object defined with the by keyword