Skip to content

Instantly share code, notes, and snippets.

@Ayeeta
Created August 1, 2020 20:09
Show Gist options
  • Save Ayeeta/e089869331f4e78068b218303c027dcf to your computer and use it in GitHub Desktop.
Save Ayeeta/e089869331f4e78068b218303c027dcf to your computer and use it in GitHub Desktop.
more on variables
//Explicitly declared
var someVariableName: String = "Explicitly declared variable of type String"
val someIntValue: Int = 343
val someDoubleValue: Double = 343.24
//Implicitly declared
var someVariableName = "Implicitly declared variable of type String"
val someIntValue = 343
val someDoubleValue = 343.24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment