Kotlin

Kotlin is one of the official android language announced by google I/o 2017. developed by JetBrains. jet brains built IntelliJ IDEA. Android studio built on top of intellijIDEA. kotlin is open source project primarily under apache2. which again promotes developer ecosystem to be united and contribute more freely.

Java is not replaced by Kotlin but we can use Kotlin along with java.we can say kotlin is more flexible version of java.It is a jvm language it is a more powerfull language compared to java.
The android apps can be built on kotlin along with java and c++ along side

Kotlin is more expressive and concise.with less number of lines we can express more and get more output. kotlin also provide safety features for your application such as immutability in nature and nullability factor(no more null pointer exception ). Kotlin supports high order functions such as we can pass function as a parameter to the another function. it supports lambda expressions, string templates and so on...

kotlin and java are interoperable. they both can be used together in the same project .we can call java language from kotlin and vice versa.



Comments