Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Here's a Kotlin code snippet that prints the current Kotlin version and JVM target. However, the lines of code are mixed up. Can you reorder the lines to make the code run correctly?Tools for KMP
DISABLE_08
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
println("Kotlin version: $kotlinVersion")
val kotlinVersion = KotlinVersion.CURRENT
}
println("JVM target: $jvmTarget")
val jvmTarget = "1.8"
fun main() {
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.