In this video we will get started by trying to understand what inheritance means. Then we start by writing a class in Kotlin to create hierarchy of classes in Kotlin. In Kotlin classes by default are final. To inherit any class, you need to declare it with open key word. We also have a look at function overriding.
Follow me on Twitter: [ Ссылка ]
Github link to the demo: [ Ссылка ]
Intro: (0:00)
Theory of Inheritance: (0:08)
Classes hierarchy & Inheritance: (2:59)
Function Overriding: (6:50)
Outro: (10:02)
Ещё видео!