No output in Kotlin REPL of IntelliJ IDEA

84 views Asked by At

I am trying to follow a tutorial where I need to paste Kotlin code into Kotlin REPL of IntelliJ IDEA.

enter image description here

But when I paste the content and press CTRL+ENTER to execute I cannot see any output.

enter image description here

Any ideas what may cause this issue?

1

There are 1 answers

0
SM2A On

You should call you method

Type main() then hit CTRL + ENTER