Explore Library
KotlinIntroduction & Core Concepts

50 items

Code QuizBeginner

Comment syntax

Use the correct syntax for a Kotlin line comment.

Codekotlin
fun main() {
    # this is a comment
    println("Hi")
}

What is the bug in this code?