Explore Library
KotlinIntroduction & Core Concepts

50 items

FlashcardBeginner

Explicit Type Annotations

You can explicitly declare a variable's type after its name using a colon.

Question

How do you write explicit type annotations?

Click to reveal answer