j3rrywan9 / kotlin-study

Learning Kotlin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning Kotlin

Installation

brew update

brew install kotlin

Verify the Installation

kotlinc -version

How to compile and run?

fun main() {
  println("Hello World!")
}
kotlinc Main.kt

java -cp .:/opt/homebrew/Cellar/kotlin/1.9.0/libexec/lib/kotlin-stdlib.jar MainKt

About

Learning Kotlin.


Languages

Language:Kotlin 100.0%