Posted On: Feb 22, 2018
In Kotlin, you can declare a variable using var or val which followed by an optional datatype.
Variable declaration in Kotlin looks like:
val s: String = "Hi" var x = 5
Never Miss an Articles from us.
Which type of Programming does Kotlin support?..