Introduction to Inheritance
Discover the concept of inheritance in Kotlin, where classes inherit properties and methods, and learn how to customize inherited behavior.
We'll cover the following...
Ancient philosophers observed that many classes of objects share the same characteristics. For instance, all mammals have hair or fur, are warm-blooded, and feed their young with milk. In programming, we represent such relationships using inheritance.