Data Types
Int, Double, Boolean, String; type conversion and Kotlin's null safety.
Simple enough for a 5-year-old to understand
Basic types
Every value has a type: integer (Int), decimal (Double), true/false (Boolean), text (String).
val number = 7val price = 3.14val isOpen = trueval text = "Kotlin"🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)