Kotlin Type Inference — Quick Look
In Kotlin most of the time, you won’t need to specify the type of the objects you are working with, as long as the compiler can infer it.
So, we just need to write var or val depending on the type of variable we want to generate, and the type…