Question: what are data classes in kotlin?
Answer: Kotlin has a better solution for classes that are used to hold data/state. It's called a Data Class. A Data Class is like a regular class but with some additional functionalities. With Kotlin's data classes, you don't need to write/generate all the lengthy boilerplate code yourself.