Part IV Object-Oriented Programming
In the next five chapters, you will learn about another programming paradigm called object-oriented programming. The object-oriented programming paradigm has been around since the 1960s and continues to be popular because it provides a set of useful tools for simplifying the structure of a program. It is a great technique for organizing portions of your code into reusable and extensible components, called classes and objects.
You will learn how to define classes, initialize objects, make your classes inherit from other classes and interfaces, and leverage special types of classes in Kotlin, like singletons and data classes. At the end of this part of the book, NyetHack will be a fully interactive ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access