Explore Library
KotlinIntroduction & Core Concepts

50 items

FlashcardBeginner

Type Inference

Kotlin can infer a variable's type from its initializer, so you often omit it.

Question

What is type inference in Kotlin?

Click to reveal answer