Created
July 25, 2016 15:52
-
-
Save develodroid/22b741f6adf46dbf045a05361e4e50c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read only variables, assign just once | |
val name : String = "develodroid" | |
val name2 = "develodroid" // Type inference | |
val name3 : String // Type is required when no initialization | |
name4 = "develodroid" // | |
// Mutable variables | |
var name5 : String = "develodroid" | |
name5 = "newName" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment