All skills

Languages & Frameworks

Kotlin

Latestv2.4.0Updated Jun 3, 2026

Overview

Kotlin is a cross-platform, statically typed, general-purpose high-level programming language with type inference. Kotlin is designed to interoperate fully with Java, and the Java virtual machine (JVM) version of Kotlin's standard library depends on the Java Class Library. However, type inference allows for more concise syntax. Kotlin mainly targets the JVM, but also compiles to JavaScript or native code via LLVM. JetBrains bears language development costs, while the Kotlin Foundation protects the Kotlin trademark.

Read more

How it works

kotlin
fun main() {
    val names = listOf("Asad", "World")
    names.forEach { println("Hello, $it!") }
}

The flow

Step by step, from source to running.

  1. 1Write .kt source
  2. 2kotlinc compiles to JVM bytecode
  3. 3Runs on the JVM / Android ART
  4. 4Interops directly with Java

Latest changes

v2.4.0 · Jun 3, 2026

  • KT-83867 OVERLOAD_RESOLUTION_AMBIGUITY false positive with assertEquals in IJ repo
  • KT-83723 [Analysis API] Enable experimental KDoc resolver by default
  • KT-83388 Analysis API: properly support KMP in KotlinPackageProvider
  • KT-65683 Analysis API: Dangling file session creation causes a computeIfAbsent contract violation
  • KT-78946 Evaluation of variable with local class in type parameter leads to InventNamesForLocalClasses exception

Links

More in Languages & Frameworks