Displaying a greeting message in Kotlin

Report a typo

Tom is learning Kotlin programming and he wants to display his name along with a greeting message on the console. He has already written some code but left some parts as blank. He wants to display the 'Hello, Kotlin learner!' message on the console. Solve the problem by helping Tom to fill the blanks in the code.

Fill in the gaps with the relevant elements
 () {
    ("Hello, Kotlin learner!")
}
printlnfunmain
___

Create a free account to access the full topic