Skip to content

Instantly share code, notes, and snippets.

@YugandharVadlamudi
Last active June 24, 2018 15:03
Show Gist options
  • Save YugandharVadlamudi/8591d0e8947ac732e0a0e5afc55b285f to your computer and use it in GitHub Desktop.
Save YugandharVadlamudi/8591d0e8947ac732e0a0e5afc55b285f to your computer and use it in GitHub Desktop.
Var variable declaration in Kotlin
fun main(args: Array<String>) {
//var variable is decleared
var name = "name Check"
println(name)
//changed the value of the variable
name="hell"
println("name is $name" + " check ")
}
###output###
name Check
name is hell check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment