Kotlin: Enums, Interfaces and Generics
In this tutorial, we will learn in-depth about Kotlin enums, Kotlin generics, and Kotlin interfaces with code examples: All these concepts exist for almost all Object-oriented programming languages. An interface is nothing but a way to declare/define an abstract view of some functionality. For example, an account abstract should have ways …