Kotlin Tutorials #7 - Building From The Command Line

preview_player
Показать описание
In this video, I will explain how to build and run Kotlin application from the command line.
Рекомендации по теме
Комментарии
Автор

Good work! The only thing you miss was put some code for the 'hello.kt', here is an example:

package demo

fun getGreeting(): String {
val words = mutableListOf<String>()
words.add("Hello, ")
words.add("world!")

return words.joinToString(separator = " ")
}

fun main(args: Array<String>) {
println(getGreeting())
}

acaqueva
visit shbcf.ru