Introduction
Welcome to lesson four! You know the basics of defining and using classes in Kotlin, so now you’ll dive into a more advanced direction of classes. In this next lesson, you’ll learn about:
- Class inheritance
- Polymorphism and its benefits
- The
superkeyword - Running hierarchy checks
By the end, you’ll be able to:
- Describe how classes inherit from other classes.
- Identify the purpose of the
superkeyword. - Know what polymorphism looks like.
- Define a subclass.
If you’re ready, it’s time to begin.