Introduction to Kotlin: Classes, Constructors, Encapsulation, Inheritance, and Interfaces
Classes
Class is a group of similar entities and can be defined using the class keyword in Kotlin.
class Person { /*...*/ }
Objects (i.e. instances) of a class, can be created by calling its constructor. Via Objects, we can access the properties of ...
androidguide.hashnode.dev5 min read