Introduction to Features of Kotlin ?
What is Features of Kotlin ?
- Concise: Kotlin reduces writing the extra codes. This make Kotlin more concise.
- Null safety: Kotlin is null safety language. Kotlin aimed to eliminate the NullPointerException (null reference) from the code.Interoperable:
- Interoperable: Kotlin easily calls the Java code in a natural way as well as Kotlin code can be used by Java.
- Smart cast: It explicitly typecasts the immutable values and inserts the value in its safe cast automatically.
- Compilation Time: It has better performance and fast compilation time.
- Tool-friendly: Kotlin programs are build using command line as well as any of Java IDE.
- Extension function: Kotlin supports extension functions and extension properties. Which means it helps to extend the functionality of classes without touching their code.
If was this tutorial helpful? so please share with you friends and social media. Thank you!
0 comments:
Post a Comment