Created
August 1, 2020 20:09
-
-
Save Ayeeta/e089869331f4e78068b218303c027dcf to your computer and use it in GitHub Desktop.
more on variables
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
//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