Kotlin Tutorial

Kotlin Data Types

Data Types

Kotlin includes several built-in types you will use in every program.

  • String
  • Int
  • Double
  • Boolean
  • List
  • Map
val scores = listOf(90, 88, 95)
println(scores[0])
Try it Yourself
Run this KOTLIN example in your local environment or course sandbox.