Question: what is difference between object and class in kotlin?
Answer: Kotlin introduces the concept of an object on top of that. Whereas a class describes structures that can be instantiated as and when desired and allows for as many instances as needed, an object instead represents a single static instance, and can never have any more or any less than this one instance.