Kotlin - Basics and JVM Runtime
What will be the output of the following Kotlin code?
print("Hi")
println(" there")
print("Welcome")print("Hi")
println(" there")
print("Welcome")print("Hi") outputs "Hi" without newline.println(" there") outputs " there" and moves to next line.print("Welcome") outputs "Welcome" on the new line.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions