The REPL - Kotlin's Interactive Shell
Kotlin Language provide an interactive shell REPL.REPL is very usefull if you want to quickly test your code.
Open Command window and type
this will open kotlin shell in command window
Now here in this shell you can write kotlin code that you want to test, like this