Skip to content

Glossary: Kotlin Basics

inheritance

Also written: inherit, extend

Building one class on another. A subclass such as `Latte` gets what its parent `Beverage` has and can replace open functions.

Where the book teaches it

Related terms

subclassclosed class / openoverride