

This is done by adding a question mark to the type, for example String versus String?. For example, the semicolon after a statement can be omitted.Īnother thing to note is that you must specify whether the type is nillable. The syntax of Kotlin is somewhere between Java and Scala.


Kotlin is a JVM language developed by the folks at Jetbrains.
