Explore Library
KotlinIntroduction & Core Concepts

50 items

Code QuizBeginner

Statements on one line

Learn when statements must be separated in Kotlin.

Codekotlin
fun main() {
    val a = 1 val b = 2
    println(a + b)
}

What is the bug in this code?