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

Figure 1 - Kotlin Shell


Now here in this shell you can write kotlin code that you want to test, like this

Figure 2 - Testing Kotln Code REPL Shell