Kotlin - Basics and JVM Runtime
Which of the following is the correct way to write a single-line comment in Kotlin?
// to start a single-line comment.//, which is correct. /* This is a single-line comment */ is for multi-line comments. <!-- This is a single-line comment --> is HTML style. # This is a single-line comment is used in some scripting languages but not Kotlin.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions