Class and objects in Kotlin
In this tutorial, we will learn about class and objects in Kotlin. As we know Kotlin is a JVM based programming language and same as Java, Kotlin is an Object-Oriented Programming language. In simple words, Class is a blueprint for an object. For example, you have object student we can create a class for the student …