Edit and Run Kotlin

KOTLIN is a recent JAVA-like programming language developed by JetBrains. See more at the language site here.

Below is a small snippet of editable and runable Kotlin embedded in this blog post. For this, I use a small WordPress plugin “Kotlin Playground”

Try changing the string values enclosed in ”  ” and click the small green arrow on the right side.
 note: I found I had to disable a privacy protection extension in my browser for the sample code below to show.. 

by JG and kotlin.