Kotlinlearncs.online LogoJava
Return to List

Solve: Hello, world!

Created By: Geoffrey Challen
/ Version: 2020.6.0

Welcome to computer science! Let's begin our journey together.

As we learn to communicate with these incredibly powerful machines, we frequently need them to tell us something about what they are doing as they run our program. We do this by using so-called print statements.

In Kotlin, the programming language we'll be learning together, we use the function println to print a message to the console. The code below is already displaying a message. But to complete this problem you need to modify the code so that it prints "Hello, world!" (Note that you don't need to print the quotation marks, just what's between them.)

println("Hello, there!")

Related Lessons

Stuck? You may find these lessons helpful: