Kotlin's REPL

To play with Kotlin's REPL, you can type the following:

$ kotlinc

Now you can type and execute Kotlin expressions:

$ kotlinc
Welcome to Kotlin version 1.2.21 (JRE 1.8.0_111-b14)
Type :help for help, :quit for quit
>>> println("Hello, World!")
Hello, World!
>>>

To exit Kotlin's REPL, you can type :quit

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.164.24