Kotlin is a programming language developed by Jetbrain. It was first published in 2011, but Kotlin has got the fame very slowly. The most significant factor in Kotlin, I think, is that it can deal with null exception safely. Using Kotlin in Android Studio Install Kotlin Plugins Ctrl + Shift + A. Put ‘convert java file to kotlin’. Ctrl + Shift + A again. Put ‘sync project with gradle files’ Click ‘configure’ in upper right side of the screen. Click OK. Basis Variable Declaration val, var val : constant // It may mean VALue or VAriable Literal I think… var : variable data type with colon val age : Int = 25 etc And it doesn’t use semi colons. Functions basic format fun add ( a : Int, b: Int): Int { return a + b } simple format fun add ( a : Int, b: Int): Int = a + b fun max ( a : Int, b: Int): Int = if ( a > b) a else b Null Safety ? (nullable) In default, Kotlin doesn’t permit to put n...
Though now I don't know, someday I will dono.