LiveKt { public static final void main(@NotNull String[] args) { Intrinsics.checkParameterIsNotNull(args, "args"); byte age = 2; String name = "Superman"; (new StringBuilder()).append(name).append(" ").append(age).toString(); } } Java fun main(args: Array<String>) { val age = 2 val name = "Superman" val text = "$name $age" print(text) } Kotlin
Kotlin Jake Wharton - Advancing Android Development with the Kotlin Language Better Android Development with Kotlin and Gradle by Ty Smith & Yohan Hartanto