The Unit type in Kotlin is the equivalent to the void type in Java. Or, if you prefer, is the result value of any statement (for example println ...
確定! 回上一頁