Kotlin Program
(Redirected from Kotlin program)
Jump to navigation
Jump to search
A Kotlin Program is a computer program composed of Kotlin code (written in the Kotlin programming language).
- Context:
- It can (typically) define and use Kotlin Variables.
- It can (typically) define and use Kotlin Classes (with one or more Kotlin Functions).
- It can (typically) define and use Kotlin Control Statements.
- It can (typically) be compiled into Java Bytecode and executed on a JVM.
- It can import a Kotlin Library (such as the Kotlin standard library).
- It can interoperate with a Kotlin-interfacing Framework (such as Ktor).
- It can range from being a Kotlin Script to being a Kotlin Application.
- Example(s)
- a helloWorld.kt.
- a pointStats.kt.
- ...
- Counter-Example(s):
- a Java Program.
- a Scala Program.
- See: Object-Oriented Program, Kotlin Code Fragment.