The following packages are imported by default into every Kotlin file:
- kotlin.*
- kotlin.annotation.*
- kotlin.collections.*
- kotlin.comparisons.* (since 1.1)
- kotlin.io.*
- kotlin.ranges.*
- kotlin.sequences.*
- kotlin.text.*
When running Kotlin applications on the JVM, the following packages are also imported:
java.lang.*
kotlin.jvm.*