News

Where Java uses void, Kotlin uses Unit, and if the return type of a function is Unit, it may be omitted. There are no semicolons in this function. In Kotlin, semicolons are optional, and therefore ...