A Day with Kotlin
Software Architecture
APRIL 8, 2018
Kotlin’s type system eliminates the danger of null references from code. fun demo(x: Any) { if (x is String) println(x.length) // x is automatically cast to String } 3. String Templates Strings may contain template expressions i.e. code that is evaluated and its result is concatenated into the string.
Let's personalize your content