Type Inference (Kotlin)

Type inference lets the Kotlin compiler deduce a variable's or function's type from context, so you can omit explicit type annotations while keeping full…